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-yh820.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-yh820.h')
-rw-r--r-- | firmware/export/config-yh820.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/export/config-yh820.h b/firmware/export/config-yh820.h index 4005ec0267..4968960803 100644 --- a/firmware/export/config-yh820.h +++ b/firmware/export/config-yh820.h | |||
@@ -106,9 +106,7 @@ | |||
106 | #define CONFIG_STORAGE STORAGE_ATA | 106 | #define CONFIG_STORAGE STORAGE_ATA |
107 | 107 | ||
108 | /* We're able to shut off power to the HDD */ | 108 | /* We're able to shut off power to the HDD */ |
109 | #ifndef SIMULATOR | ||
110 | /* todo #define HAVE_ATA_POWER_OFF */ | 109 | /* todo #define HAVE_ATA_POWER_OFF */ |
111 | #endif | ||
112 | 110 | ||
113 | /* Define this if you have a software controlled poweroff */ | 111 | /* Define this if you have a software controlled poweroff */ |
114 | #define HAVE_SW_POWEROFF | 112 | #define HAVE_SW_POWEROFF |
@@ -139,8 +137,6 @@ | |||
139 | /* define this if the unit can be powered or charged via USB */ | 137 | /* define this if the unit can be powered or charged via USB */ |
140 | #define HAVE_USB_POWER | 138 | #define HAVE_USB_POWER |
141 | 139 | ||
142 | #ifndef SIMULATOR | ||
143 | |||
144 | /* Define this if you have a PortalPlayer PP5020 */ | 140 | /* Define this if you have a PortalPlayer PP5020 */ |
145 | #define CONFIG_CPU PP5020 | 141 | #define CONFIG_CPU PP5020 |
146 | 142 | ||
@@ -185,4 +181,3 @@ | |||
185 | 181 | ||
186 | #define ICODE_ATTR_TREMOR_NOT_MDCT | 182 | #define ICODE_ATTR_TREMOR_NOT_MDCT |
187 | 183 | ||
188 | #endif /* !SIMULATOR */ | ||