From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sjoerd Simons Date: Fri, 05 Dec 2014 20:14:49 +0100 Subject: [U-Boot] [PATCH v10 1/4] config: exynos5420: move non common configs to specific board files In-Reply-To: <1417504034-25522-2-git-send-email-human.hwang@samsung.com> References: <1417504034-25522-1-git-send-email-human.hwang@samsung.com> <1417504034-25522-2-git-send-email-human.hwang@samsung.com> Message-ID: <1417806889.32660.28.camel@collabora.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2014-12-02 at 16:07 +0900, Hyungwon Hwang wrote: > The media for boot and environment is a board-specific feature, not a > processor-specific. This is same to console port number and some > other addresses. This patch moves the that kinds of configs to each > board-specific files from the common config file for Exynos5420. > > Signed-off-by: Hyungwon Hwang > Cc: Minkyu Kang > Cc: Lukasz Majewski > Cc: Sjoerd Simons > Cc: Javier Martinez Canillas > Cc: Simon Glass > --- > Changes for v10: > - Newly added > > include/configs/exynos5420-common.h | 18 ------------------ > include/configs/peach-pi.h | 6 ++++++ > include/configs/peach-pit.h | 6 ++++++ > include/configs/smdk5420.h | 11 +++++++++++ > 4 files changed, 23 insertions(+), 18 deletions(-) > > diff --git a/include/configs/smdk5420.h b/include/configs/smdk5420.h > index 5c9a3c0..9742427 100644 > --- a/include/configs/smdk5420.h > +++ b/include/configs/smdk5420.h > @@ -11,13 +11,24 @@ > > #include > > +#define CONFIG_ENV_IS_IN_SPI_FLASH > +#define CONFIG_SPI_FLASH > +#define CONFIG_ENV_SPI_BASE 0x12D30000 > +#define FLASH_SIZE (0x4 << 20) > +#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_BL2_SIZE) > +#define CONFIG_SPI_BOOTING These need to be defined before including configs/exynos5420-common.h. With this patch smdk5420_defconfig doesn't build any longer -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6170 bytes Desc: not available URL: