From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 26 Aug 2016 16:12:09 -0400 Subject: [U-Boot] [PATCH v2 01/11] Kconfig: Separate AM33XX SOC config from target board config In-Reply-To: <20160822152131.15340-2-afd@ti.com> References: <20160822152131.15340-1-afd@ti.com> <20160822152131.15340-2-afd@ti.com> Message-ID: <20160826201209.GL32344@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Aug 22, 2016 at 10:21:21AM -0500, Andrew F. Davis wrote: > The config option AM33XX is used in several boards and should be > defined as a stand-alone option for this SOC. We break this out > from TARGET_AM335X_* then enable AM33XX on in all the boards that > used TARGET_AM335X_* to eliminate any functional change with > this patch. Also conditionally define this in ti_am335x_common.h to prevent > redefinition. The definition can be removed completely when all platforms > that include this header have this definition added to their defconfig. > > This is similar to what has already been done in > 9de852642cae ("arm: Kconfig: Add support for AM43xx SoC specific Kconfig") > and is done for the same reasons. > > Signed-off-by: Andrew F. Davis [snip] > diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h > index bcd56fc..7a4c043 100644 > --- a/include/configs/ti_am335x_common.h > +++ b/include/configs/ti_am335x_common.h > @@ -12,7 +12,9 @@ > #ifndef __CONFIG_TI_AM335X_COMMON_H__ > #define __CONFIG_TI_AM335X_COMMON_H__ > > +#ifndef CONFIG_AM33XX > #define CONFIG_AM33XX > +#endif > #define CONFIG_ARCH_CPU_INIT > #define CONFIG_SYS_CACHELINE_SIZE 64 > #define CONFIG_MAX_RAM_BANK_SIZE (1024 << 20) /* 1GB */ We should do the fixup in this commit and drop the line from this header. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: