summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/SOURCES2
-rw-r--r--apps/plugins/iriver_flash.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index c0246eecc4..910ffe4161 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -61,7 +61,7 @@ iriverify.c
61#endif 61#endif
62 62
63#if (CONFIG_PLATFORM & PLATFORM_NATIVE) /* Requires real hardware */ 63#if (CONFIG_PLATFORM & PLATFORM_NATIVE) /* Requires real hardware */
64#if defined(IRIVER_H100_SERIES) 64#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
65iriver_flash.c 65iriver_flash.c
66#endif 66#endif
67 67
diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c
index cecd4990a9..2ef6872c7d 100644
--- a/apps/plugins/iriver_flash.c
+++ b/apps/plugins/iriver_flash.c
@@ -27,7 +27,7 @@
27unsigned char *audiobuf; 27unsigned char *audiobuf;
28ssize_t audiobuf_size; 28ssize_t audiobuf_size;
29 29
30#ifndef IRIVER_H100_SERIES 30#if !defined(IRIVER_H100_SERIES) && !defined(IRIVER_H300_SERIES)
31#error this platform is not (yet) flashable 31#error this platform is not (yet) flashable
32#endif 32#endif
33 33
@@ -48,7 +48,7 @@ struct flash_info
48 char name[32]; 48 char name[32];
49}; 49};
50 50
51#ifdef IRIVER_H100_SERIES 51#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
52#define SEC_SIZE 4096 52#define SEC_SIZE 4096
53#define BOOTLOADER_ERASEGUARD (BOOTLOADER_ENTRYPOINT / SEC_SIZE) 53#define BOOTLOADER_ERASEGUARD (BOOTLOADER_ENTRYPOINT / SEC_SIZE)
54enum sections { 54enum sections {