summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/ata_idle_notify.h3
-rw-r--r--firmware/export/config-c100.h4
-rw-r--r--firmware/export/config-c200.h2
-rw-r--r--firmware/export/config-clip.h2
-rw-r--r--firmware/export/config-cowond2.h4
-rw-r--r--firmware/export/config-creativezv.h2
-rw-r--r--firmware/export/config-creativezvm.h2
-rw-r--r--firmware/export/config-creativezvm60gb.h2
-rw-r--r--firmware/export/config-e200.h2
-rw-r--r--firmware/export/config-e200v2.h2
-rw-r--r--firmware/export/config-fmrecorder.h2
-rw-r--r--firmware/export/config-gigabeat-s.h2
-rw-r--r--firmware/export/config-gigabeat.h2
-rw-r--r--firmware/export/config-h10.h2
-rw-r--r--firmware/export/config-h100.h2
-rw-r--r--firmware/export/config-h10_5gb.h2
-rw-r--r--firmware/export/config-h120.h2
-rw-r--r--firmware/export/config-h300.h2
-rwxr-xr-xfirmware/export/config-hdd1630.h2
-rw-r--r--firmware/export/config-iaudio7.h4
-rw-r--r--firmware/export/config-iaudiom3.h2
-rw-r--r--firmware/export/config-iaudiom5.h2
-rw-r--r--firmware/export/config-iaudiox5.h2
-rw-r--r--firmware/export/config-ifp7xx.h6
-rw-r--r--firmware/export/config-ipod1g2g.h2
-rw-r--r--firmware/export/config-ipod3g.h2
-rw-r--r--firmware/export/config-ipod4g.h2
-rw-r--r--firmware/export/config-ipodcolor.h2
-rw-r--r--firmware/export/config-ipodmini.h2
-rw-r--r--firmware/export/config-ipodmini2g.h2
-rw-r--r--firmware/export/config-ipodnano.h2
-rw-r--r--firmware/export/config-ipodvideo.h2
-rw-r--r--firmware/export/config-logikdax.h4
-rw-r--r--firmware/export/config-m200.h4
-rw-r--r--firmware/export/config-mrobe100.h2
-rw-r--r--firmware/export/config-mrobe500.h2
-rw-r--r--firmware/export/config-ondavx747.h2
-rw-r--r--firmware/export/config-ondavx767.h2
-rw-r--r--firmware/export/config-ondiofm.h2
-rw-r--r--firmware/export/config-ondiosp.h2
-rw-r--r--firmware/export/config-player.h2
-rw-r--r--firmware/export/config-recorder.h2
-rw-r--r--firmware/export/config-recorderv2.h2
-rwxr-xr-xfirmware/export/config-sa9200.h2
-rw-r--r--firmware/export/config-tpj1022.h2
-rw-r--r--firmware/export/config.h11
-rw-r--r--firmware/export/hotswap.h4
-rw-r--r--firmware/export/powermgmt.h4
48 files changed, 76 insertions, 48 deletions
diff --git a/firmware/export/ata_idle_notify.h b/firmware/export/ata_idle_notify.h
index cfbba6f13d..aea2c92b06 100644
--- a/firmware/export/ata_idle_notify.h
+++ b/firmware/export/ata_idle_notify.h
@@ -44,7 +44,8 @@ enum {
44}; 44};
45 45
46#define USING_ATA_CALLBACK !defined(SIMULATOR) \ 46#define USING_ATA_CALLBACK !defined(SIMULATOR) \
47 && !defined(HAVE_FLASH_DISK) \ 47 && ! ((CONFIG_STORAGE & STORAGE_NAND) \
48 && (CONFIG_NAND & NAND_IFP7XX)) \
48 && !defined(BOOTLOADER) 49 && !defined(BOOTLOADER)
49 50
50typedef bool (*ata_idle_notify)(void); 51typedef bool (*ata_idle_notify)(void);
diff --git a/firmware/export/config-c100.h b/firmware/export/config-c100.h
index 5bf0fc83a6..9a2664202a 100644
--- a/firmware/export/config-c100.h
+++ b/firmware/export/config-c100.h
@@ -120,4 +120,8 @@
120#define BOOTFILE "rockbox." BOOTFILE_EXT 120#define BOOTFILE "rockbox." BOOTFILE_EXT
121#define BOOTDIR "/" 121#define BOOTDIR "/"
122 122
123#define CONFIG_STORAGE STORAGE_NAND
124
125#define CONFIG_NAND NAND_TCC
126
123#endif /* SIMULATOR */ 127#endif /* SIMULATOR */
diff --git a/firmware/export/config-c200.h b/firmware/export/config-c200.h
index 9a9198ee05..a96b9c7ef8 100644
--- a/firmware/export/config-c200.h
+++ b/firmware/export/config-c200.h
@@ -115,7 +115,7 @@
115#define HAVE_FLASH_STORAGE 115#define HAVE_FLASH_STORAGE
116 116
117/* define this if the flash memory uses the SecureDigital Memory Card protocol */ 117/* define this if the flash memory uses the SecureDigital Memory Card protocol */
118#define HAVE_ATA_SD 118#define CONFIG_STORAGE STORAGE_SD
119 119
120#define BATTERY_CAPACITY_DEFAULT 530 /* default battery capacity */ 120#define BATTERY_CAPACITY_DEFAULT 530 /* default battery capacity */
121#define BATTERY_CAPACITY_MIN 530 /* min. capacity selectable */ 121#define BATTERY_CAPACITY_MIN 530 /* min. capacity selectable */
diff --git a/firmware/export/config-clip.h b/firmware/export/config-clip.h
index 01a08f3886..591ec1012a 100644
--- a/firmware/export/config-clip.h
+++ b/firmware/export/config-clip.h
@@ -95,7 +95,7 @@
95#define HAVE_FLASH_STORAGE 95#define HAVE_FLASH_STORAGE
96 96
97/* define this if the flash memory uses the SecureDigital Memory Card protocol */ 97/* define this if the flash memory uses the SecureDigital Memory Card protocol */
98#define HAVE_ATA_SD 98#define CONFIG_STORAGE STORAGE_SD
99 99
100#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ 100#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
101#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ 101#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
diff --git a/firmware/export/config-cowond2.h b/firmware/export/config-cowond2.h
index d136caefb2..749eb0b882 100644
--- a/firmware/export/config-cowond2.h
+++ b/firmware/export/config-cowond2.h
@@ -145,4 +145,8 @@
145#define BOOTFILE "rockbox." BOOTFILE_EXT 145#define BOOTFILE "rockbox." BOOTFILE_EXT
146#define BOOTDIR "/.rockbox" 146#define BOOTDIR "/.rockbox"
147 147
148#define CONFIG_STORAGE STORAGE_NAND
149
150#define CONFIG_NAND NAND_TCC
151
148#endif /* SIMULATOR */ 152#endif /* SIMULATOR */
diff --git a/firmware/export/config-creativezv.h b/firmware/export/config-creativezv.h
index e9cc2685b6..5f0336e538 100644
--- a/firmware/export/config-creativezv.h
+++ b/firmware/export/config-creativezv.h
@@ -37,7 +37,7 @@
37#define MODEL_NUMBER 28 37#define MODEL_NUMBER 28
38 38
39/* define this if you use an ATA controller */ 39/* define this if you use an ATA controller */
40#define HAVE_ATA 40#define CONFIG_STORAGE STORAGE_ATA
41 41
42/* define this if you have a bitmap LCD display */ 42/* define this if you have a bitmap LCD display */
43#define HAVE_LCD_BITMAP 43#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-creativezvm.h b/firmware/export/config-creativezvm.h
index ec21500296..ea3cc871a5 100644
--- a/firmware/export/config-creativezvm.h
+++ b/firmware/export/config-creativezvm.h
@@ -37,7 +37,7 @@
37#define MODEL_NUMBER 26 37#define MODEL_NUMBER 26
38 38
39/* define this if you use an ATA controller */ 39/* define this if you use an ATA controller */
40#define HAVE_ATA 40#define CONFIG_STORAGE STORAGE_ATA
41 41
42/* define this if you have a bitmap LCD display */ 42/* define this if you have a bitmap LCD display */
43#define HAVE_LCD_BITMAP 43#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-creativezvm60gb.h b/firmware/export/config-creativezvm60gb.h
index d1e1d80889..a0cf2ba918 100644
--- a/firmware/export/config-creativezvm60gb.h
+++ b/firmware/export/config-creativezvm60gb.h
@@ -37,7 +37,7 @@
37#define MODEL_NUMBER 27 37#define MODEL_NUMBER 27
38 38
39/* define this if you use an ATA controller */ 39/* define this if you use an ATA controller */
40#define HAVE_ATA 40#define CONFIG_STORAGE STORAGE_ATA
41 41
42/* define this if you have a bitmap LCD display */ 42/* define this if you have a bitmap LCD display */
43#define HAVE_LCD_BITMAP 43#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h
index 745aa71735..075f490ee4 100644
--- a/firmware/export/config-e200.h
+++ b/firmware/export/config-e200.h
@@ -112,7 +112,7 @@
112#define HAVE_FLASH_STORAGE 112#define HAVE_FLASH_STORAGE
113 113
114/* define this if the flash memory uses the SecureDigital Memory Card protocol */ 114/* define this if the flash memory uses the SecureDigital Memory Card protocol */
115#define HAVE_ATA_SD 115#define CONFIG_STORAGE STORAGE_SD
116 116
117#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ 117#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
118#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ 118#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
diff --git a/firmware/export/config-e200v2.h b/firmware/export/config-e200v2.h
index 0dc87d4123..c51bac0a9f 100644
--- a/firmware/export/config-e200v2.h
+++ b/firmware/export/config-e200v2.h
@@ -115,7 +115,7 @@
115#define HAVE_FLASH_STORAGE 115#define HAVE_FLASH_STORAGE
116 116
117/* define this if the flash memory uses the SecureDigital Memory Card protocol */ 117/* define this if the flash memory uses the SecureDigital Memory Card protocol */
118#define HAVE_ATA_SD 118#define CONFIG_STORAGE STORAGE_SD
119 119
120#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ 120#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
121#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ 121#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index 1908f6a29d..716bc98e09 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.h
@@ -1,5 +1,5 @@
1/* define this if you use an ATA controller */ 1/* define this if you use an ATA controller */
2#define HAVE_ATA 2#define CONFIG_STORAGE STORAGE_ATA
3 3
4#define MODEL_NAME "Archos FM Recorder" 4#define MODEL_NAME "Archos FM Recorder"
5 5
diff --git a/firmware/export/config-gigabeat-s.h b/firmware/export/config-gigabeat-s.h
index 7f36bce7dd..007fd7d2f4 100644
--- a/firmware/export/config-gigabeat-s.h
+++ b/firmware/export/config-gigabeat-s.h
@@ -13,7 +13,7 @@
13#define MODEL_NUMBER 21 13#define MODEL_NUMBER 21
14 14
15/* define this if you use an ATA controller */ 15/* define this if you use an ATA controller */
16#define HAVE_ATA 16#define CONFIG_STORAGE STORAGE_ATA
17 17
18/* define this if you have a bitmap LCD display */ 18/* define this if you have a bitmap LCD display */
19#define HAVE_LCD_BITMAP 19#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h
index f4910bfcb0..0c5462400b 100644
--- a/firmware/export/config-gigabeat.h
+++ b/firmware/export/config-gigabeat.h
@@ -11,7 +11,7 @@
11#define MODEL_NUMBER 18 11#define MODEL_NUMBER 18
12 12
13/* define this if you use an ATA controller */ 13/* define this if you use an ATA controller */
14#define HAVE_ATA 14#define CONFIG_STORAGE STORAGE_ATA
15 15
16/* define this if you have a bitmap LCD display */ 16/* define this if you have a bitmap LCD display */
17#define HAVE_LCD_BITMAP 17#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h
index 8504ffd25a..2056fd4fcf 100644
--- a/firmware/export/config-h10.h
+++ b/firmware/export/config-h10.h
@@ -9,7 +9,7 @@
9#define MODEL_NAME "iriver H10 20GB" 9#define MODEL_NAME "iriver H10 20GB"
10 10
11/* define this if you use an ATA controller */ 11/* define this if you use an ATA controller */
12#define HAVE_ATA 12#define CONFIG_STORAGE STORAGE_ATA
13 13
14/* define this if you have recording possibility */ 14/* define this if you have recording possibility */
15#define HAVE_RECORDING 15#define HAVE_RECORDING
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 641709f639..9c327f11fd 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -15,7 +15,7 @@
15#define MODEL_NUMBER 1 15#define MODEL_NUMBER 1
16 16
17/* define this if you use an ATA controller */ 17/* define this if you use an ATA controller */
18#define HAVE_ATA 18#define CONFIG_STORAGE STORAGE_ATA
19 19
20/* define this if you have a bitmap LCD display */ 20/* define this if you have a bitmap LCD display */
21#define HAVE_LCD_BITMAP 21#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h
index fa1e37229a..40acdc6efe 100644
--- a/firmware/export/config-h10_5gb.h
+++ b/firmware/export/config-h10_5gb.h
@@ -9,7 +9,7 @@
9#define MODEL_NAME "iriver H10 5/6GB" 9#define MODEL_NAME "iriver H10 5/6GB"
10 10
11/* define this if you use an ATA controller */ 11/* define this if you use an ATA controller */
12#define HAVE_ATA 12#define CONFIG_STORAGE STORAGE_ATA
13 13
14/* define this if you have recording possibility */ 14/* define this if you have recording possibility */
15#define HAVE_RECORDING 15#define HAVE_RECORDING
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h
index 6177347664..d81fa07d93 100644
--- a/firmware/export/config-h120.h
+++ b/firmware/export/config-h120.h
@@ -10,7 +10,7 @@
10#define MODEL_NUMBER 0 10#define MODEL_NUMBER 0
11 11
12/* define this if you use an ATA controller */ 12/* define this if you use an ATA controller */
13#define HAVE_ATA 13#define CONFIG_STORAGE STORAGE_ATA
14 14
15/* define this if you have a bitmap LCD display */ 15/* define this if you have a bitmap LCD display */
16#define HAVE_LCD_BITMAP 16#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h
index 0b305747cf..f45b694fe0 100644
--- a/firmware/export/config-h300.h
+++ b/firmware/export/config-h300.h
@@ -10,7 +10,7 @@
10#define MODEL_NUMBER 2 10#define MODEL_NUMBER 2
11 11
12/* define this if you use an ATA controller */ 12/* define this if you use an ATA controller */
13#define HAVE_ATA 13#define CONFIG_STORAGE STORAGE_ATA
14 14
15/* define this if you have a bitmap LCD display */ 15/* define this if you have a bitmap LCD display */
16#define HAVE_LCD_BITMAP 16#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-hdd1630.h b/firmware/export/config-hdd1630.h
index 810902e487..7ee3f11355 100755
--- a/firmware/export/config-hdd1630.h
+++ b/firmware/export/config-hdd1630.h
@@ -9,7 +9,7 @@
9#define MODEL_NAME "Philips GoGear HDD1630" 9#define MODEL_NAME "Philips GoGear HDD1630"
10 10
11/* define this if you use an ATA controller */ 11/* define this if you use an ATA controller */
12#define HAVE_ATA 12#define CONFIG_STORAGE STORAGE_ATA
13 13
14/* define this if you have recording possibility */ 14/* define this if you have recording possibility */
15/* #define HAVE_RECORDING */ 15/* #define HAVE_RECORDING */
diff --git a/firmware/export/config-iaudio7.h b/firmware/export/config-iaudio7.h
index cce357ec4b..ca6212d305 100644
--- a/firmware/export/config-iaudio7.h
+++ b/firmware/export/config-iaudio7.h
@@ -155,6 +155,10 @@
155#define BOOTFILE "rockbox." BOOTFILE_EXT 155#define BOOTFILE "rockbox." BOOTFILE_EXT
156#define BOOTDIR "/" 156#define BOOTDIR "/"
157 157
158#define CONFIG_STORAGE STORAGE_NAND
159
160#define CONFIG_NAND NAND_TCC
161
158#ifdef BOOTLOADER 162#ifdef BOOTLOADER
159#define TCCBOOT 163#define TCCBOOT
160#endif 164#endif
diff --git a/firmware/export/config-iaudiom3.h b/firmware/export/config-iaudiom3.h
index 8ebd5cb8b6..f4ced651d0 100644
--- a/firmware/export/config-iaudiom3.h
+++ b/firmware/export/config-iaudiom3.h
@@ -9,7 +9,7 @@
9#define MODEL_NAME "iAudio M3" 9#define MODEL_NAME "iAudio M3"
10 10
11/* define this if you use an ATA controller */ 11/* define this if you use an ATA controller */
12#define HAVE_ATA 12#define CONFIG_STORAGE STORAGE_ATA
13 13
14/* define this if you have recording possibility */ 14/* define this if you have recording possibility */
15#define HAVE_RECORDING 15#define HAVE_RECORDING
diff --git a/firmware/export/config-iaudiom5.h b/firmware/export/config-iaudiom5.h
index 027ffb61e5..5ec6b77862 100644
--- a/firmware/export/config-iaudiom5.h
+++ b/firmware/export/config-iaudiom5.h
@@ -9,7 +9,7 @@
9#define MODEL_NAME "iAudio M5" 9#define MODEL_NAME "iAudio M5"
10 10
11/* define this if you use an ATA controller */ 11/* define this if you use an ATA controller */
12#define HAVE_ATA 12#define CONFIG_STORAGE STORAGE_ATA
13 13
14/* define this if you have recording possibility */ 14/* define this if you have recording possibility */
15#define HAVE_RECORDING 15#define HAVE_RECORDING
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h
index 5ea3dcd73c..cdae55af4f 100644
--- a/firmware/export/config-iaudiox5.h
+++ b/firmware/export/config-iaudiox5.h
@@ -9,7 +9,7 @@
9#define MODEL_NAME "iAudio X5" 9#define MODEL_NAME "iAudio X5"
10 10
11/* define this if you use an ATA controller */ 11/* define this if you use an ATA controller */
12#define HAVE_ATA 12#define CONFIG_STORAGE STORAGE_ATA
13 13
14/* define this if you have recording possibility */ 14/* define this if you have recording possibility */
15#define HAVE_RECORDING 15#define HAVE_RECORDING
diff --git a/firmware/export/config-ifp7xx.h b/firmware/export/config-ifp7xx.h
index 6e6f9f4097..6a26a93da2 100644
--- a/firmware/export/config-ifp7xx.h
+++ b/firmware/export/config-ifp7xx.h
@@ -31,7 +31,9 @@
31 31
32#define CONFIG_KEYPAD IRIVER_IFP7XX_PAD 32#define CONFIG_KEYPAD IRIVER_IFP7XX_PAD
33 33
34#define CONFIG_FLASH FLASH_IFP7XX 34#define CONFIG_STORAGE STORAGE_NAND
35
36#define CONFIG_NAND NAND_IFP7XX
35 37
36#define HAVE_FAT16SUPPORT 38#define HAVE_FAT16SUPPORT
37 39
@@ -50,8 +52,6 @@
50/* Define this if you have the WM8975 audio codec */ 52/* Define this if you have the WM8975 audio codec */
51/* #define HAVE_WM8975 */ 53/* #define HAVE_WM8975 */
52 54
53#define HAVE_FLASH_DISK
54
55/* Virtual LED (icon) */ 55/* Virtual LED (icon) */
56#define CONFIG_LED LED_VIRTUAL 56#define CONFIG_LED LED_VIRTUAL
57 57
diff --git a/firmware/export/config-ipod1g2g.h b/firmware/export/config-ipod1g2g.h
index ae810b14cb..4308d9c66c 100644
--- a/firmware/export/config-ipod1g2g.h
+++ b/firmware/export/config-ipod1g2g.h
@@ -11,7 +11,7 @@
11#define MODEL_NUMBER 19 11#define MODEL_NUMBER 19
12 12
13/* define this if you use an ATA controller */ 13/* define this if you use an ATA controller */
14#define HAVE_ATA 14#define CONFIG_STORAGE STORAGE_ATA
15 15
16/* define this if you have recording possibility 16/* define this if you have recording possibility
17#define HAVE_RECORDING */ 17#define HAVE_RECORDING */
diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h
index 3ca95c375c..f1550576d2 100644
--- a/firmware/export/config-ipod3g.h
+++ b/firmware/export/config-ipod3g.h
@@ -12,7 +12,7 @@
12#define MODEL_NUMBER 7 12#define MODEL_NUMBER 7
13 13
14/* define this if you use an ATA controller */ 14/* define this if you use an ATA controller */
15#define HAVE_ATA 15#define CONFIG_STORAGE STORAGE_ATA
16 16
17/* define this if you have recording possibility */ 17/* define this if you have recording possibility */
18/*#define HAVE_RECORDING*/ 18/*#define HAVE_RECORDING*/
diff --git a/firmware/export/config-ipod4g.h b/firmware/export/config-ipod4g.h
index 4f0045fee8..4a2207d1d6 100644
--- a/firmware/export/config-ipod4g.h
+++ b/firmware/export/config-ipod4g.h
@@ -11,7 +11,7 @@
11#define MODEL_NUMBER 8 11#define MODEL_NUMBER 8
12 12
13/* define this if you use an ATA controller */ 13/* define this if you use an ATA controller */
14#define HAVE_ATA 14#define CONFIG_STORAGE STORAGE_ATA
15 15
16/* define this if you have recording possibility */ 16/* define this if you have recording possibility */
17#define HAVE_RECORDING 17#define HAVE_RECORDING
diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h
index d23a03a00b..47b7a4eacf 100644
--- a/firmware/export/config-ipodcolor.h
+++ b/firmware/export/config-ipodcolor.h
@@ -11,7 +11,7 @@
11#define MODEL_NUMBER 3 11#define MODEL_NUMBER 3
12 12
13/* define this if you use an ATA controller */ 13/* define this if you use an ATA controller */
14#define HAVE_ATA 14#define CONFIG_STORAGE STORAGE_ATA
15 15
16/* define this if you have recording possibility */ 16/* define this if you have recording possibility */
17#define HAVE_RECORDING 17#define HAVE_RECORDING
diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h
index 8477e497b4..c2d6376706 100644
--- a/firmware/export/config-ipodmini.h
+++ b/firmware/export/config-ipodmini.h
@@ -11,7 +11,7 @@
11#define MODEL_NUMBER 9 11#define MODEL_NUMBER 9
12 12
13/* define this if you use an ATA controller */ 13/* define this if you use an ATA controller */
14#define HAVE_ATA 14#define CONFIG_STORAGE STORAGE_ATA
15 15
16/* define this if you have recording possibility */ 16/* define this if you have recording possibility */
17/*#define HAVE_RECORDING*/ 17/*#define HAVE_RECORDING*/
diff --git a/firmware/export/config-ipodmini2g.h b/firmware/export/config-ipodmini2g.h
index 5e7bdb0d09..6d6ebf1a9a 100644
--- a/firmware/export/config-ipodmini2g.h
+++ b/firmware/export/config-ipodmini2g.h
@@ -11,7 +11,7 @@
11#define MODEL_NUMBER 11 11#define MODEL_NUMBER 11
12 12
13/* define this if you use an ATA controller */ 13/* define this if you use an ATA controller */
14#define HAVE_ATA 14#define CONFIG_STORAGE STORAGE_ATA
15 15
16/* define this if you have recording possibility */ 16/* define this if you have recording possibility */
17/*#define HAVE_RECORDING*/ 17/*#define HAVE_RECORDING*/
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h
index 0750d55557..7d6515fc0f 100644
--- a/firmware/export/config-ipodnano.h
+++ b/firmware/export/config-ipodnano.h
@@ -11,7 +11,7 @@
11#define MODEL_NUMBER 4 11#define MODEL_NUMBER 4
12 12
13/* define this if you use an ATA controller */ 13/* define this if you use an ATA controller */
14#define HAVE_ATA 14#define CONFIG_STORAGE STORAGE_ATA
15 15
16/* define this if you have recording possibility */ 16/* define this if you have recording possibility */
17#define HAVE_RECORDING 17#define HAVE_RECORDING
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h
index c7a248e532..fa6ddd304f 100644
--- a/firmware/export/config-ipodvideo.h
+++ b/firmware/export/config-ipodvideo.h
@@ -11,7 +11,7 @@
11#define MODEL_NUMBER 5 11#define MODEL_NUMBER 5
12 12
13/* define this if you use an ATA controller */ 13/* define this if you use an ATA controller */
14#define HAVE_ATA 14#define CONFIG_STORAGE STORAGE_ATA
15 15
16/* define this if you have recording possibility */ 16/* define this if you have recording possibility */
17#define HAVE_RECORDING 17#define HAVE_RECORDING
diff --git a/firmware/export/config-logikdax.h b/firmware/export/config-logikdax.h
index f9ee4b94a0..160058ff7f 100644
--- a/firmware/export/config-logikdax.h
+++ b/firmware/export/config-logikdax.h
@@ -139,4 +139,8 @@
139#define ICODE_ATTR_ALAC 139#define ICODE_ATTR_ALAC
140#define IBSS_ATTR_SHORTEN_DECODED0 140#define IBSS_ATTR_SHORTEN_DECODED0
141 141
142#define CONFIG_STORAGE STORAGE_NAND
143
144#define CONFIG_NAND NAND_TCC
145
142#endif /* SIMULATOR */ 146#endif /* SIMULATOR */
diff --git a/firmware/export/config-m200.h b/firmware/export/config-m200.h
index 2733ad577d..b3b71ee778 100644
--- a/firmware/export/config-m200.h
+++ b/firmware/export/config-m200.h
@@ -124,4 +124,8 @@
124#define ICODE_ATTR_ALAC 124#define ICODE_ATTR_ALAC
125#define IBSS_ATTR_SHORTEN_DECODED0 125#define IBSS_ATTR_SHORTEN_DECODED0
126 126
127#define CONFIG_STORAGE STORAGE_NAND
128
129#define CONFIG_NAND NAND_TCC
130
127#endif /* SIMULATOR */ 131#endif /* SIMULATOR */
diff --git a/firmware/export/config-mrobe100.h b/firmware/export/config-mrobe100.h
index 99e7757af8..051f15824f 100644
--- a/firmware/export/config-mrobe100.h
+++ b/firmware/export/config-mrobe100.h
@@ -9,7 +9,7 @@
9#define MODEL_NAME "Olympus m:robe MR-100" 9#define MODEL_NAME "Olympus m:robe MR-100"
10 10
11/* define this if you use an ATA controller */ 11/* define this if you use an ATA controller */
12#define HAVE_ATA 12#define CONFIG_STORAGE STORAGE_ATA
13 13
14/* define this if you have a bitmap LCD display */ 14/* define this if you have a bitmap LCD display */
15#define HAVE_LCD_BITMAP 15#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h
index 8e20c9478c..572d018328 100644
--- a/firmware/export/config-mrobe500.h
+++ b/firmware/export/config-mrobe500.h
@@ -33,7 +33,7 @@
33#define MODEL_NUMBER 22 33#define MODEL_NUMBER 22
34 34
35/* define this if you use an ATA controller */ 35/* define this if you use an ATA controller */
36#define HAVE_ATA 36#define CONFIG_STORAGE STORAGE_ATA
37 37
38/* define this if you have a bitmap LCD display */ 38/* define this if you have a bitmap LCD display */
39#define HAVE_LCD_BITMAP 39#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-ondavx747.h b/firmware/export/config-ondavx747.h
index 12deb9cf71..38bc5d7b01 100644
--- a/firmware/export/config-ondavx747.h
+++ b/firmware/export/config-ondavx747.h
@@ -34,7 +34,7 @@
34#define MODEL_NUMBER 35 34#define MODEL_NUMBER 35
35 35
36/* define this if you use an ATA controller */ 36/* define this if you use an ATA controller */
37//#define HAVE_ATA 37//#define CONFIG_STORAGE STORAGE_ATA
38 38
39/* define this if you have a bitmap LCD display */ 39/* define this if you have a bitmap LCD display */
40#define HAVE_LCD_BITMAP 40#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-ondavx767.h b/firmware/export/config-ondavx767.h
index 9c2d237b01..bbead76137 100644
--- a/firmware/export/config-ondavx767.h
+++ b/firmware/export/config-ondavx767.h
@@ -34,7 +34,7 @@
34#define MODEL_NUMBER 36 34#define MODEL_NUMBER 36
35 35
36/* define this if you use an ATA controller */ 36/* define this if you use an ATA controller */
37//#define HAVE_ATA 37//#define CONFIG_STORAGE STORAGE_ATA
38 38
39/* define this if you have a bitmap LCD display */ 39/* define this if you have a bitmap LCD display */
40#define HAVE_LCD_BITMAP 40#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index 8d3b040745..634433fcdb 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -106,7 +106,7 @@
106#define HAVE_ONDIO_ADC 106#define HAVE_ONDIO_ADC
107 107
108/* Define this for MMC support instead of ATA harddisk */ 108/* Define this for MMC support instead of ATA harddisk */
109#define HAVE_MMC 109#define CONFIG_STORAGE STORAGE_MMC
110 110
111/* Define this to support mounting FAT16 partitions */ 111/* Define this to support mounting FAT16 partitions */
112#define HAVE_FAT16SUPPORT 112#define HAVE_FAT16SUPPORT
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h
index fc99bf459d..3443b839b6 100644
--- a/firmware/export/config-ondiosp.h
+++ b/firmware/export/config-ondiosp.h
@@ -89,7 +89,7 @@
89#define HAVE_ONDIO_ADC 89#define HAVE_ONDIO_ADC
90 90
91/* Define this for MMC support instead of ATA harddisk */ 91/* Define this for MMC support instead of ATA harddisk */
92#define HAVE_MMC 92#define CONFIG_STORAGE STORAGE_MMC
93 93
94/* Define this to support mounting FAT16 partitions */ 94/* Define this to support mounting FAT16 partitions */
95#define HAVE_FAT16SUPPORT 95#define HAVE_FAT16SUPPORT
diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h
index d94ca82735..9008212a17 100644
--- a/firmware/export/config-player.h
+++ b/firmware/export/config-player.h
@@ -1,5 +1,5 @@
1/* define this if you use an ATA controller */ 1/* define this if you use an ATA controller */
2#define HAVE_ATA 2#define CONFIG_STORAGE STORAGE_ATA
3 3
4#define MODEL_NAME "Archos Player/Studio" 4#define MODEL_NAME "Archos Player/Studio"
5 5
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h
index f6ddb88af6..e5fa3361cc 100644
--- a/firmware/export/config-recorder.h
+++ b/firmware/export/config-recorder.h
@@ -1,5 +1,5 @@
1/* define this if you use an ATA controller */ 1/* define this if you use an ATA controller */
2#define HAVE_ATA 2#define CONFIG_STORAGE STORAGE_ATA
3 3
4#define MODEL_NAME "Archos Recorder" 4#define MODEL_NAME "Archos Recorder"
5 5
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h
index 5d62ec464c..3244f19f1d 100644
--- a/firmware/export/config-recorderv2.h
+++ b/firmware/export/config-recorderv2.h
@@ -1,5 +1,5 @@
1/* define this if you use an ATA controller */ 1/* define this if you use an ATA controller */
2#define HAVE_ATA 2#define CONFIG_STORAGE STORAGE_ATA
3 3
4#define MODEL_NAME "Archos Recorder v2" 4#define MODEL_NAME "Archos Recorder v2"
5 5
diff --git a/firmware/export/config-sa9200.h b/firmware/export/config-sa9200.h
index 433e28db82..b9fd4575bc 100755
--- a/firmware/export/config-sa9200.h
+++ b/firmware/export/config-sa9200.h
@@ -94,7 +94,7 @@
94#define HAVE_FLASH_STORAGE 94#define HAVE_FLASH_STORAGE
95 95
96/* define this if the flash memory uses the SecureDigital Memory Card protocol */ 96/* define this if the flash memory uses the SecureDigital Memory Card protocol */
97#define HAVE_ATA_SD 97#define CONFIG_STORAGE STORAGE_SD
98 98
99#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ 99#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
100#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ 100#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
diff --git a/firmware/export/config-tpj1022.h b/firmware/export/config-tpj1022.h
index 1b49e0ebb9..6cc85fdfc9 100644
--- a/firmware/export/config-tpj1022.h
+++ b/firmware/export/config-tpj1022.h
@@ -10,7 +10,7 @@
10#define MODEL_NUMBER 15 10#define MODEL_NUMBER 15
11 11
12/* define this if you use an ATA controller */ 12/* define this if you use an ATA controller */
13#define HAVE_ATA 13#define CONFIG_STORAGE STORAGE_ATA
14 14
15/* define this if you have recording possibility */ 15/* define this if you have recording possibility */
16/*#define HAVE_RECORDING*/ /* TODO: add support for this */ 16/*#define HAVE_RECORDING*/ /* TODO: add support for this */
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 01141f3866..c12f6ce4d2 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -28,6 +28,12 @@
28 28
29/* symbolic names for multiple choice configurations: */ 29/* symbolic names for multiple choice configurations: */
30 30
31/* CONFIG_STORAGE (note these are combineable bit-flags) */
32#define STORAGE_ATA 0x01
33#define STORAGE_MMC 0x02
34#define STORAGE_SD 0x04
35#define STORAGE_NAND 0x08
36
31/* CONFIG_TUNER (note these are combineable bit-flags) */ 37/* CONFIG_TUNER (note these are combineable bit-flags) */
32#define S1A0903X01 0x01 /* Samsung */ 38#define S1A0903X01 0x01 /* Samsung */
33#define TEA5767 0x02 /* Philips */ 39#define TEA5767 0x02 /* Philips */
@@ -180,8 +186,9 @@
180#define LED_VIRTUAL 2 /* Virtual LED (icon) (Archos Ondio) */ 186#define LED_VIRTUAL 2 /* Virtual LED (icon) (Archos Ondio) */
181/* else HW controlled LED (iRiver H1x0) */ 187/* else HW controlled LED (iRiver H1x0) */
182 188
183/* CONFIG_FLASH */ 189/* CONFIG_NAND */
184#define FLASH_IFP7XX 1 190#define NAND_IFP7XX 1
191#define NAND_TCC 2
185 192
186/* CONFIG_RTC */ 193/* CONFIG_RTC */
187#define RTC_M41ST84W 1 /* Archos Recorder */ 194#define RTC_M41ST84W 1 /* Archos Recorder */
diff --git a/firmware/export/hotswap.h b/firmware/export/hotswap.h
index d01c467adf..6872ca86db 100644
--- a/firmware/export/hotswap.h
+++ b/firmware/export/hotswap.h
@@ -41,14 +41,14 @@ typedef struct
41 unsigned int blocksize; /* block size in bytes */ 41 unsigned int blocksize; /* block size in bytes */
42} tCardInfo; 42} tCardInfo;
43 43
44#ifdef HAVE_ATA_SD 44#if (CONFIG_STORAGE & STORAGE_SD)
45#include "ata-sd-target.h" 45#include "ata-sd-target.h"
46#define card_detect card_detect_target 46#define card_detect card_detect_target
47#define card_get_info card_get_info_target 47#define card_get_info card_get_info_target
48#ifdef HAVE_HOTSWAP 48#ifdef HAVE_HOTSWAP
49#define card_enable_monitoring card_enable_monitoring_target 49#define card_enable_monitoring card_enable_monitoring_target
50#endif 50#endif
51#else /* HAVE_MMC */ 51#else /* STORAGE_MMC */
52#include "ata_mmc.h" 52#include "ata_mmc.h"
53#define card_detect mmc_detect 53#define card_detect mmc_detect
54#define card_get_info mmc_card_info 54#define card_get_info mmc_card_info
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index acdee22a12..70c4b70d7a 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -142,7 +142,7 @@ extern int trickle_sec; /* trickle charge: How many seconds per minute
142#define CURRENT_USB 500 /* usual current in mA in USB mode */ 142#define CURRENT_USB 500 /* usual current in mA in USB mode */
143#ifdef HAVE_REMOTE_LCD 143#ifdef HAVE_REMOTE_LCD
144# define CURRENT_REMOTE 8 /* add. current when H100-remote connected */ 144# define CURRENT_REMOTE 8 /* add. current when H100-remote connected */
145#endif /* HAVE_MMC */ 145#endif /* HAVE_REMOTE_LCD */
146 146
147# define CURRENT_MIN_CHG 70 /* minimum charge current */ 147# define CURRENT_MIN_CHG 70 /* minimum charge current */
148# define MIN_CHG_V 8500 /* at 8.5v charger voltage get CURRENT_MIN_CHG */ 148# define MIN_CHG_V 8500 /* at 8.5v charger voltage get CURRENT_MIN_CHG */
@@ -152,7 +152,7 @@ extern int trickle_sec; /* trickle charge: How many seconds per minute
152# define CURRENT_MAX_CHG 350 /* maximum charging current */ 152# define CURRENT_MAX_CHG 350 /* maximum charging current */
153# endif 153# endif
154# define MAX_CHG_V 10250 /* anything over 10.25v gives CURRENT_MAX_CHG */ 154# define MAX_CHG_V 10250 /* anything over 10.25v gives CURRENT_MAX_CHG */
155#endif /* not HAVE_MMC */ 155#endif /* not ONDIO */
156 156
157extern unsigned short power_history[POWER_HISTORY_LEN]; 157extern unsigned short power_history[POWER_HISTORY_LEN];
158extern const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT]; 158extern const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT];