diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2011-11-08 02:07:26 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2011-11-08 02:07:26 +0000 |
commit | 64c73c4751365d890a8c0060fe14ae15e828d12a (patch) | |
tree | 22a4a28e75d6386f17058a23048eae906b6c1251 /firmware/target | |
parent | c0125e19651637b3a19ce496339400aa475409c3 (diff) |
Disable the clock the built in AS3525(v2) bootrom. This is only useful for reverse engineering purposes, so disable during normal operation in case it uses power.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30930 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index 2a40724208..31d6fb6ae6 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -224,6 +224,8 @@ void system_init(void) CGU_PERI &= ~0x7f; /* pclk 24 MHz */ #endif + CGU_PERI &= ~(1<<24); /*disable built in boot rom clock*/ + /* bits 31:30 should be set to 0 in arm926-ejs */ asm volatile( "mrc p15, 0, r0, c1, c0 \n" /* control register */ |