When I'm playing with u-boot I found that the size of smdk6400 nand spl binary image can't pad to 4K. So I make some minor change to the config.mk file to achieve the correct padding size.
Signed-off-by: Sunpeng <sunnyca...@gmail.com> --- nand_spl/board/samsung/smdk6400/config.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/nand_spl/board/samsung/smdk6400/config.mk b/nand_spl/board/samsung/smdk6400/config.mk index 4b16230..013dec9 100644 --- a/nand_spl/board/samsung/smdk6400/config.mk +++ b/nand_spl/board/samsung/smdk6400/config.mk @@ -33,7 +33,7 @@ include $(TOPDIR)/board/$(BOARDDIR)/config.mk # PAD_TO used to generate a 4kByte binary needed for the combined image # -> PAD_TO = TEXT_BASE + 4096 -PAD_TO := $(shell expr $$[$(TEXT_BASE) + 4096]) +PAD_TO := $(shell expr $(TEXT_BASE) + 4096) ifeq ($(debug),1) PLATFORM_CPPFLAGS += -DDEBUG -- 1.6.0.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot