From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Suchanek Date: Wed, 15 Apr 2015 09:00:56 +0200 Subject: [U-Boot] [PATCH 03/10] sunxi: Introduce a hidden ARCH_SUN6I Kconfig bool In-Reply-To: <1429027621-19252-3-git-send-email-hdegoede@redhat.com> References: <1429027621-19252-1-git-send-email-hdegoede@redhat.com> <1429027621-19252-3-git-send-email-hdegoede@redhat.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14 April 2015 at 18:06, Hans de Goede 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 Thanks Michal