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-yh920.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-yh920.h')
-rw-r--r-- | firmware/export/config-yh920.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/export/config-yh920.h b/firmware/export/config-yh920.h index e5a0fc8f71..310fa1374c 100644 --- a/firmware/export/config-yh920.h +++ b/firmware/export/config-yh920.h | |||
@@ -113,9 +113,7 @@ | |||
113 | #define CONFIG_STORAGE STORAGE_ATA | 113 | #define CONFIG_STORAGE STORAGE_ATA |
114 | 114 | ||
115 | /* We're able to shut off power to the HDD */ | 115 | /* We're able to shut off power to the HDD */ |
116 | #ifndef SIMULATOR | ||
117 | /* todo #define HAVE_ATA_POWER_OFF */ | 116 | /* todo #define HAVE_ATA_POWER_OFF */ |
118 | #endif | ||
119 | 117 | ||
120 | /* Define this if you have a software controlled poweroff */ | 118 | /* Define this if you have a software controlled poweroff */ |
121 | #define HAVE_SW_POWEROFF | 119 | #define HAVE_SW_POWEROFF |
@@ -146,8 +144,6 @@ | |||
146 | /* define this if the unit can be powered or charged via USB */ | 144 | /* define this if the unit can be powered or charged via USB */ |
147 | #define HAVE_USB_POWER | 145 | #define HAVE_USB_POWER |
148 | 146 | ||
149 | #ifndef SIMULATOR | ||
150 | |||
151 | /* Define this if you have a PortalPlayer PP5020 */ | 147 | /* Define this if you have a PortalPlayer PP5020 */ |
152 | #define CONFIG_CPU PP5020 | 148 | #define CONFIG_CPU PP5020 |
153 | 149 | ||
@@ -191,4 +187,3 @@ | |||
191 | 187 | ||
192 | #define ICODE_ATTR_TREMOR_NOT_MDCT | 188 | #define ICODE_ATTR_TREMOR_NOT_MDCT |
193 | 189 | ||
194 | #endif /* !SIMULATOR */ | ||