summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2020-10-25 23:48:26 +0000
committerSolomon Peachy <pizza@shaftnet.org>2020-10-26 01:07:14 +0000
commit129001909d36161b4850142f29eeafc295b92a3e (patch)
treeac324ab92eab17f65c291fede8fb2f9e65562784 /firmware/export/config
parentf7e0ce8fb96d9e8d8428925abac7d9a6ceb3d83a (diff)
downloadrockbox-129001909d36161b4850142f29eeafc295b92a3e.tar.gz
rockbox-129001909d36161b4850142f29eeafc295b92a3e.zip
h300: enable support for iriver_flash
This also modifies the configuration file to include macros defined in the H100 / H120 implementation. Change-Id: Iae845889c98661ec548c04fc57e733dcc346c0f1
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/iriverh300.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/firmware/export/config/iriverh300.h b/firmware/export/config/iriverh300.h
index e2f16d2b4e..ca0df7217e 100644
--- a/firmware/export/config/iriverh300.h
+++ b/firmware/export/config/iriverh300.h
@@ -157,6 +157,9 @@
157/* Define this if you want to use coldfire's i2c interface */ 157/* Define this if you want to use coldfire's i2c interface */
158#define CONFIG_I2C I2C_COLDFIRE 158#define CONFIG_I2C I2C_COLDFIRE
159 159
160/* Define this if you can run rockbox from flash memory */
161#define HAVE_FLASHED_ROCKBOX
162
160/* The size of the flash ROM */ 163/* The size of the flash ROM */
161#define FLASH_SIZE 0x400000 164#define FLASH_SIZE 0x400000
162 165
@@ -184,13 +187,17 @@
184#define BOOTFILE "rockbox." BOOTFILE_EXT 187#define BOOTFILE "rockbox." BOOTFILE_EXT
185#define BOOTDIR "/.rockbox" 188#define BOOTDIR "/.rockbox"
186 189
187#define BOOTLOADER_ENTRYPOINT 0x001F0000 190#define BOOTLOADER_ENTRYPOINT 0x003F0000
188#define FLASH_ENTRYPOINT 0x00001000 191#define FLASH_RAMIMAGE_ENTRY 0x00001000
192#define FLASH_ROMIMAGE_ENTRY 0x00100000
189#define FLASH_MAGIC 0xfbfbfbf1 193#define FLASH_MAGIC 0xfbfbfbf1
190 194
191/* Define this if there is an EEPROM chip */ 195/* Define this if there is an EEPROM chip */
192#define HAVE_EEPROM 196#define HAVE_EEPROM
193 197
198/* Define this if the EEPROM chip is used */
199#define HAVE_EEPROM_SETTINGS
200
194/* Define this for FM radio input available */ 201/* Define this for FM radio input available */
195#define HAVE_FMRADIO_IN 202#define HAVE_FMRADIO_IN
196 203