summaryrefslogtreecommitdiff
path: root/onenand_ipl
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2010-10-16 21:32:11 +0200
committerWolfgang Denk <wd@denx.de>2010-10-19 23:05:12 +0200
commit451a0c39ae8553cb7f1ae3385211c0c17d391465 (patch)
treec01bf4d207d7a684829dd0b8df02170691deea51 /onenand_ipl
parent20ae5193e325ad005ca9e15377838e0763069658 (diff)
downloadu-boot-451a0c39ae8553cb7f1ae3385211c0c17d391465.tar.gz
PXA: Fix vpac270 OneNAND booter
NOTE: The modification in Makefile will be superseded by a pending patch! Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'onenand_ipl')
-rw-r--r--onenand_ipl/board/vpac270/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/onenand_ipl/board/vpac270/Makefile b/onenand_ipl/board/vpac270/Makefile
index ac7a8f05e6..a86bc00864 100644
--- a/onenand_ipl/board/vpac270/Makefile
+++ b/onenand_ipl/board/vpac270/Makefile
@@ -1,5 +1,6 @@
-IPL =onenand_ipl
+
include $(TOPDIR)/config.mk
+include $(TOPDIR)/board/$(BOARDDIR)/config.mk
LDSCRIPT= $(TOPDIR)/onenand_ipl/board/$(BOARDDIR)/u-boot.onenand.lds
LDFLAGS = -Bstatic -T $(onenandobj)u-boot.lds -Ttext $(CONFIG_SYS_TEXT_BASE) $(PLATFORM_LDFLAGS)
@@ -25,7 +26,7 @@ ALL = $(onenandobj)onenand-ipl $(onenandobj)onenand-ipl.bin $(onenandobj)onenand
all: $(obj).depend $(ALL)
$(onenandobj)onenand-ipl-2k.bin: $(onenandobj)onenand-ipl
- $(OBJCOPY) ${OBJCFLAGS} --pad-to=0x5c040400 -O binary $< $@
+ $(OBJCOPY) ${OBJCFLAGS} --pad-to=0x0800 -O binary $< $@
$(onenandobj)onenand-ipl.bin: $(onenandobj)onenand-ipl
$(OBJCOPY) ${OBJCFLAGS} -O binary $< $@