1
0
Fork 0
forked from len0rd/rockbox

h300: enable support for iriver_flash

This also modifies the configuration file to include macros
defined in the H100 / H120 implementation.

Change-Id: Iae845889c98661ec548c04fc57e733dcc346c0f1
This commit is contained in:
James Buren 2020-10-25 23:48:26 +00:00 committed by Solomon Peachy
parent f7e0ce8fb9
commit 129001909d
3 changed files with 12 additions and 5 deletions

View file

@ -27,7 +27,7 @@
unsigned char *audiobuf;
ssize_t audiobuf_size;
#ifndef IRIVER_H100_SERIES
#if !defined(IRIVER_H100_SERIES) && !defined(IRIVER_H300_SERIES)
#error this platform is not (yet) flashable
#endif
@ -48,7 +48,7 @@ struct flash_info
char name[32];
};
#ifdef IRIVER_H100_SERIES
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
#define SEC_SIZE 4096
#define BOOTLOADER_ERASEGUARD (BOOTLOADER_ENTRYPOINT / SEC_SIZE)
enum sections {