diff options
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index 72e3a9b361..1f2d27a7b7 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c | |||
@@ -215,6 +215,13 @@ void system_init(void) | |||
215 | #ifndef BOOTLOADER | 215 | #ifndef BOOTLOADER |
216 | if (CURRENT_CORE == CPU) | 216 | if (CURRENT_CORE == CPU) |
217 | { | 217 | { |
218 | #ifdef SANSA_E200 | ||
219 | /* Reset all devices */ | ||
220 | DEV_RS = 0x3bfffef8; | ||
221 | outl(0xffffffff, 0x60006008); | ||
222 | DEV_RS = 0; | ||
223 | outl(0x00000000, 0x60006008); | ||
224 | #endif | ||
218 | /* Remap the flash ROM from 0x00000000 to 0x20000000. */ | 225 | /* Remap the flash ROM from 0x00000000 to 0x20000000. */ |
219 | MMAP3_LOGICAL = 0x20000000 | 0x3a00; | 226 | MMAP3_LOGICAL = 0x20000000 | 0x3a00; |
220 | MMAP3_PHYSICAL = 0x00000000 | 0x3f84; | 227 | MMAP3_PHYSICAL = 0x00000000 | 0x3f84; |