diff options
author | Björn Stenberg <bjorn@haxx.se> | 2007-09-28 07:56:20 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2007-09-28 07:56:20 +0000 |
commit | 0a231de5360555d659328dcb0c224c1bac9509ca (patch) | |
tree | 71d9195ecb8d7de88cc206a69818d23171c84d1d /firmware/target/arm/system-pp502x.c | |
parent | c13eba29ff5615cc74a7818e42cc9d464a7c7075 (diff) |
Improved magic by Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14876 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index a234edab8c..d17fb6d37a 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c @@ -258,9 +258,12 @@ void system_reboot(void) #ifdef SANSA_C200 CACHE_CTL &= ~0x10; - /* Magic used by the c200 OF. The BL uses a magic value of 0x23066b7b. + pp_i2c_send( 0x46, 0x23, 0x0); /* backlight off */ + + /* Magic used by the c200 OF: 0x23066000 + Magic used by the c200 BL: 0x23066b7b In both cases, the OF executes these 2 commands from iram. */ - outl(0x23066000, 0x70000008); + outl(0x23066b7b, 0x70000008); DEV_RS = DEV_SYSTEM; #else DEV_RS |= DEV_SYSTEM; |