diff options
author | Nils Wallménius <nils@rockbox.org> | 2009-11-07 10:48:05 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2009-11-07 10:48:05 +0000 |
commit | 109f182b0c16e2ebb50fbae746550730151d8913 (patch) | |
tree | 8d1977fda7754e992743e59a3e48a794623b0021 /firmware/export/config-cowond2.h | |
parent | 9b6d3d74b380625f62fccb985043e864c648d330 (diff) | |
download | rockbox-109f182b0c16e2ebb50fbae746550730151d8913.tar.gz rockbox-109f182b0c16e2ebb50fbae746550730151d8913.zip |
Introduce new config header 'config-sim.h' that takes care of undefining things that shouldn't be defined for sims so that the target configs no longer need to have #ifndef SIMULATOR sections and to bring some consistency for what is and is not included for sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23547 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-cowond2.h')
-rw-r--r-- | firmware/export/config-cowond2.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/firmware/export/config-cowond2.h b/firmware/export/config-cowond2.h index 45bf90bbd0..88c7ce5b8f 100644 --- a/firmware/export/config-cowond2.h +++ b/firmware/export/config-cowond2.h | |||
@@ -62,14 +62,10 @@ | |||
62 | /* define this if you have a flash memory storage */ | 62 | /* define this if you have a flash memory storage */ |
63 | #define HAVE_FLASH_STORAGE | 63 | #define HAVE_FLASH_STORAGE |
64 | 64 | ||
65 | #ifndef SIMULATOR | ||
66 | #define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD) | 65 | #define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD) |
67 | #define HAVE_MULTIDRIVE | 66 | #define HAVE_MULTIDRIVE |
68 | #define HAVE_HOTSWAP | 67 | #define HAVE_HOTSWAP |
69 | #define NUM_DRIVES 2 | 68 | #define NUM_DRIVES 2 |
70 | #else | ||
71 | #define CONFIG_STORAGE STORAGE_NAND | ||
72 | #endif | ||
73 | 69 | ||
74 | #define CONFIG_NAND NAND_TCC | 70 | #define CONFIG_NAND NAND_TCC |
75 | 71 | ||
@@ -150,7 +146,6 @@ | |||
150 | #define CURRENT_BACKLIGHT 30 /* TBD */ | 146 | #define CURRENT_BACKLIGHT 30 /* TBD */ |
151 | #define CURRENT_RECORD 0 /* no recording yet */ | 147 | #define CURRENT_RECORD 0 /* no recording yet */ |
152 | 148 | ||
153 | #ifndef SIMULATOR | ||
154 | /* Define this if you have a TCC7801 */ | 149 | /* Define this if you have a TCC7801 */ |
155 | #define CONFIG_CPU TCC7801 | 150 | #define CONFIG_CPU TCC7801 |
156 | 151 | ||
@@ -174,5 +169,3 @@ | |||
174 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 169 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
175 | #define BOOTDIR "/.rockbox" | 170 | #define BOOTDIR "/.rockbox" |
176 | 171 | ||
177 | |||
178 | #endif /* SIMULATOR */ | ||