[U-Boot] [PATCH 03/10] sunxi: Introduce a hidden ARCH_SUN6I Kconfig bool

Hans de Goede hdegoede at redhat.com
Wed Apr 15 09:36:10 CEST 2015


Hi,

On 15-04-15 09:00, Michal Suchanek wrote:
> On 14 April 2015 at 18:06, Hans de Goede <hdegoede at redhat.com> wrote:
>
>> --- a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
>> +++ b/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
>> @@ -37,7 +37,7 @@
>>   #define SUNXI_MMC1_BASE                        0x01c10000
>>   #define SUNXI_MMC2_BASE                        0x01c11000
>>   #define SUNXI_MMC3_BASE                        0x01c12000
>> -#if !defined CONFIG_MACH_SUN6I && !defined CONFIG_MACH_SUN8I
>> +#ifndef CONFIG_ARCH_SUN6I
>>   #define SUNXI_USB0_BASE                        0x01c13000
>>   #define SUNXI_USB1_BASE                        0x01c14000
>>   #endif
>> @@ -45,15 +45,15 @@
>>   #define SUNXI_HDMI_BASE                        0x01c16000
>>   #define SUNXI_SPI2_BASE                        0x01c17000
>>   #define SUNXI_SATA_BASE                        0x01c18000
>> -#if !defined CONFIG_MACH_SUN6I && !defined CONFIG_MACH_SUN8I
>> +#ifdef CONFIG_ARCH_SUN6I
>
> Also here #ifndef is changed to #ifdef

And the same here too.

Regards,

Hans


More information about the U-Boot mailing list