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 <human.hw...@samsung.com> > Cc: Minkyu Kang <mk7.k...@samsung.com> > Cc: Lukasz Majewski <l.majew...@samsung.com> > Cc: Sjoerd Simons <sjoerd.sim...@collabora.co.uk> > Cc: Javier Martinez Canillas <jav...@dowhile0.org> > Cc: Simon Glass <s...@chromium.org> > --- > 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 <configs/exynos5420-common.h> > > +#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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot