summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2019-10-13 23:21:19 -0400
committerFranklin Wei <franklin@rockbox.org>2019-10-13 23:23:32 -0400
commit3d6d90382ea368135544ebae875de99df73986ee (patch)
treeac88aeb7d9492d36ffc291c423f77112d3b4b200 /firmware
parent7f1e6b4638c35cf287297a2428e50764680214f7 (diff)
iPod Classic: enable IRAM1 in bootloader
7442742 ("iPod Classic: disable IRAM1") was causing subsequent ipod6g bootloader builds to result in a completely black screen upon installation, with recovery only possible with a reflash through DFU mode. IRAM1 is re-enabled for bootloader only. Change-Id: I92d489c91f81cad55d66a8647c1e61a45f468770
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/s5l8702/system-s5l8702.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/arm/s5l8702/system-s5l8702.c b/firmware/target/arm/s5l8702/system-s5l8702.c
index 9257aff85a..54042f1b7a 100644
--- a/firmware/target/arm/s5l8702/system-s5l8702.c
+++ b/firmware/target/arm/s5l8702/system-s5l8702.c
@@ -199,8 +199,14 @@ enum {
void system_init(void)
{
+ /*
+ * Bootloader seems to give a blank screen when IRAM1 is disabled
+ * - FW 10/13/19
+ */
+#ifndef BOOTLOADER
/* disable IRAM1 (not used because it is slower than DRAM) */
clockgate_enable(CLOCKGATE_SM1, false);
+#endif
clocking_init(clk_modes, 0);
#ifndef BOOTLOADER