
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 sunnycamel@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