diff options
Diffstat (limited to 'firmware/target/arm/ata-target.h')
-rw-r--r-- | firmware/target/arm/ata-target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/ata-target.h b/firmware/target/arm/ata-target.h index d6c5f512e6..d65a7b2822 100644 --- a/firmware/target/arm/ata-target.h +++ b/firmware/target/arm/ata-target.h | |||
@@ -17,7 +17,7 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | #if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) | 20 | #ifdef CPU_PP |
21 | 21 | ||
22 | #if (CONFIG_CPU == PP5002) | 22 | #if (CONFIG_CPU == PP5002) |
23 | 23 | ||
@@ -26,7 +26,7 @@ | |||
26 | #define ATA_IOBASE 0xc00031e0 | 26 | #define ATA_IOBASE 0xc00031e0 |
27 | #define ATA_CONTROL (*((volatile unsigned char*)(0xc00033f8))) | 27 | #define ATA_CONTROL (*((volatile unsigned char*)(0xc00033f8))) |
28 | 28 | ||
29 | #elif (CONFIG_CPU == PP5020) | 29 | #elif defined CPU_PP502x |
30 | 30 | ||
31 | /* asm optimized reading and writing */ | 31 | /* asm optimized reading and writing */ |
32 | #define ATA_OPTIMIZED_READING | 32 | #define ATA_OPTIMIZED_READING |