diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/ata.c | 1 | ||||
-rw-r--r-- | firmware/drivers/ata_flash.c | 1 | ||||
-rw-r--r-- | firmware/drivers/ata_mmc.c | 2 | ||||
-rw-r--r-- | firmware/drivers/lcd-1bit-vert.c | 1 | ||||
-rw-r--r-- | firmware/drivers/mas.c | 2 | ||||
-rw-r--r-- | firmware/drivers/power.c | 1 |
6 files changed, 2 insertions, 6 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index d2c80e0ae0..35967d7d78 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include "usb.h" | 28 | #include "usb.h" |
29 | #include "power.h" | 29 | #include "power.h" |
30 | #include "string.h" | 30 | #include "string.h" |
31 | #include "hwcompat.h" | ||
32 | #include "ata_idle_notify.h" | 31 | #include "ata_idle_notify.h" |
33 | #include "ata-target.h" | 32 | #include "ata-target.h" |
34 | 33 | ||
diff --git a/firmware/drivers/ata_flash.c b/firmware/drivers/ata_flash.c index 72520ac499..ccdc8c2443 100644 --- a/firmware/drivers/ata_flash.c +++ b/firmware/drivers/ata_flash.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include "usb.h" | 36 | #include "usb.h" |
37 | #include "power.h" | 37 | #include "power.h" |
38 | #include "string.h" | 38 | #include "string.h" |
39 | #include "hwcompat.h" | ||
40 | */ | 39 | */ |
41 | 40 | ||
42 | #define SECTOR_SIZE (512) | 41 | #define SECTOR_SIZE (512) |
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c index 377d2444bf..847e282e3b 100644 --- a/firmware/drivers/ata_mmc.c +++ b/firmware/drivers/ata_mmc.c | |||
@@ -1163,7 +1163,7 @@ int ata_init(void) | |||
1163 | } | 1163 | } |
1164 | #endif | 1164 | #endif |
1165 | 1165 | ||
1166 | new_mmc_circuit = ((read_hw_mask() & MMC_CLOCK_POLARITY) != 0); | 1166 | new_mmc_circuit = ((HW_MASK & MMC_CLOCK_POLARITY) != 0); |
1167 | ata_enable(true); | 1167 | ata_enable(true); |
1168 | 1168 | ||
1169 | if ( !initialized ) | 1169 | if ( !initialized ) |
diff --git a/firmware/drivers/lcd-1bit-vert.c b/firmware/drivers/lcd-1bit-vert.c index ec0ddeec41..b54238d085 100644 --- a/firmware/drivers/lcd-1bit-vert.c +++ b/firmware/drivers/lcd-1bit-vert.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include "debug.h" | 27 | #include "debug.h" |
28 | #include "system.h" | 28 | #include "system.h" |
29 | #include "font.h" | 29 | #include "font.h" |
30 | #include "hwcompat.h" | ||
31 | #include "rbunicode.h" | 30 | #include "rbunicode.h" |
32 | #include "bidi.h" | 31 | #include "bidi.h" |
33 | 32 | ||
diff --git a/firmware/drivers/mas.c b/firmware/drivers/mas.c index a8f910a426..6a1b7cde9a 100644 --- a/firmware/drivers/mas.c +++ b/firmware/drivers/mas.c | |||
@@ -286,7 +286,7 @@ void mas_reset(void) | |||
286 | or_b(0x01, &PADRH); | 286 | or_b(0x01, &PADRH); |
287 | sleep(HZ/5); | 287 | sleep(HZ/5); |
288 | #elif (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) | 288 | #elif (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) |
289 | if (read_hw_mask() & ATA_ADDRESS_200) | 289 | if (HW_MASK & ATA_ADDRESS_200) |
290 | { | 290 | { |
291 | and_b(~0x01, &PADRH); | 291 | and_b(~0x01, &PADRH); |
292 | sleep(HZ/100); | 292 | sleep(HZ/100); |
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index 9334b8e54a..2a87cad2e1 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include "kernel.h" | 23 | #include "kernel.h" |
24 | #include "system.h" | 24 | #include "system.h" |
25 | #include "power.h" | 25 | #include "power.h" |
26 | #include "hwcompat.h" | ||
27 | #include "logf.h" | 26 | #include "logf.h" |
28 | #include "pcf50605.h" | 27 | #include "pcf50605.h" |
29 | #include "pcf50606.h" | 28 | #include "pcf50606.h" |