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
This commit is contained in:
parent
c0125e1965
commit
64c73c4751
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue