summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/iriverh300.h2
-rw-r--r--firmware/rom.lds7
2 files changed, 8 insertions, 1 deletions
diff --git a/firmware/export/config/iriverh300.h b/firmware/export/config/iriverh300.h
index ca0df7217e..f901f160c6 100644
--- a/firmware/export/config/iriverh300.h
+++ b/firmware/export/config/iriverh300.h
@@ -189,7 +189,7 @@
#define BOOTLOADER_ENTRYPOINT 0x003F0000
#define FLASH_RAMIMAGE_ENTRY 0x00001000
-#define FLASH_ROMIMAGE_ENTRY 0x00100000
+#define FLASH_ROMIMAGE_ENTRY 0x00200000
#define FLASH_MAGIC 0xfbfbfbf1
/* Define this if there is an EEPROM chip */
diff --git a/firmware/rom.lds b/firmware/rom.lds
index c75a9c409b..48dc30f857 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -29,6 +29,13 @@ STARTUP(target/arm/crt0.o)
#define IRAMSIZE 0xc000
#define FLASHORIG 0x00100028
#define FLASHSIZE 0x000eff80
+#elif defined(IRIVER_H300_SERIES)
+#define CODECSIZE CODEC_SIZE
+#define DRAMORIG 0x31000000
+#define IRAMORIG 0x10000000
+#define IRAMSIZE 0xc000
+#define FLASHORIG 0x00200028
+#define FLASHSIZE 0x001eff80
#else
#define DRAMORIG 0x09000000
#define IRAMORIG 0x0f000000