diff options
Diffstat (limited to 'nand_spl')
-rw-r--r-- | nand_spl/board/amcc/sequoia/Makefile | 4 | ||||
-rw-r--r-- | nand_spl/nand_boot.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/nand_spl/board/amcc/sequoia/Makefile b/nand_spl/board/amcc/sequoia/Makefile index 6c07e3dd8d..897aa8b6b7 100644 --- a/nand_spl/board/amcc/sequoia/Makefile +++ b/nand_spl/board/amcc/sequoia/Makefile @@ -35,11 +35,11 @@ COBJS = nand_boot.o ndfc.o sdram.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) -ALL = u-boot-spl u-boot-spl.bin u-boot-spl-4k.bin +ALL = u-boot-spl u-boot-spl.bin u-boot-spl-16k.bin all: $(obj).depend $(ALL) -u-boot-spl-4k.bin: u-boot-spl +u-boot-spl-16k.bin: u-boot-spl $(OBJCOPY) ${OBJCFLAGS} --pad-to=$(PAD_TO) -O binary $< $@ u-boot-spl.bin: u-boot-spl diff --git a/nand_spl/nand_boot.c b/nand_spl/nand_boot.c index 6e3af13939..21abb09e39 100644 --- a/nand_spl/nand_boot.c +++ b/nand_spl/nand_boot.c @@ -166,8 +166,7 @@ void nand_boot(void) /* * Load U-Boot image from NAND into RAM */ - ret = nand_load(&nand_info, CFG_NAND_U_BOOT_OFFS, - CFG_NAND_U_BOOT_SIZE, + ret = nand_load(&nand_info, CFG_NAND_U_BOOT_OFFS, CFG_NAND_U_BOOT_SIZE, (uchar *)CFG_NAND_U_BOOT_DST); /* |