From 129001909d36161b4850142f29eeafc295b92a3e Mon Sep 17 00:00:00 2001 From: James Buren Date: Sun, 25 Oct 2020 23:48:26 +0000 Subject: h300: enable support for iriver_flash This also modifies the configuration file to include macros defined in the H100 / H120 implementation. Change-Id: Iae845889c98661ec548c04fc57e733dcc346c0f1 --- firmware/export/config/iriverh300.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'firmware/export/config') 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 @@ /* Define this if you want to use coldfire's i2c interface */ #define CONFIG_I2C I2C_COLDFIRE +/* Define this if you can run rockbox from flash memory */ +#define HAVE_FLASHED_ROCKBOX + /* The size of the flash ROM */ #define FLASH_SIZE 0x400000 @@ -184,13 +187,17 @@ #define BOOTFILE "rockbox." BOOTFILE_EXT #define BOOTDIR "/.rockbox" -#define BOOTLOADER_ENTRYPOINT 0x001F0000 -#define FLASH_ENTRYPOINT 0x00001000 +#define BOOTLOADER_ENTRYPOINT 0x003F0000 +#define FLASH_RAMIMAGE_ENTRY 0x00001000 +#define FLASH_ROMIMAGE_ENTRY 0x00100000 #define FLASH_MAGIC 0xfbfbfbf1 /* Define this if there is an EEPROM chip */ #define HAVE_EEPROM +/* Define this if the EEPROM chip is used */ +#define HAVE_EEPROM_SETTINGS + /* Define this for FM radio input available */ #define HAVE_FMRADIO_IN -- cgit v1.2.3