From 0705e6ce5d81065c6d35e93a202160c7e96e20bf Mon Sep 17 00:00:00 2001 From: zagor Date: Fri, 28 Sep 2007 07:56:20 +0000 Subject: [PATCH] Improved magic by Mark Arigo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14876 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/system-pp502x.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index a234edab8..d17fb6d37 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; -- 2.11.4.GIT