1 From 2e01dc015bc8bb9ca45f369025c342ede990863e Mon Sep 17 00:00:00 2001
2 From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
3 Date: Mon, 12 Aug 2013 01:16:09 +0200
4 Subject: Makefile: add Lantiq NAND SPL images
6 Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
11 /u-boot.ltq.lzma.norspl
12 /u-boot.ltq.lzo.norspl
14 +/u-boot.ltq.lzma.nandspl
15 +/u-boot.ltq.lzo.nandspl
22 @@ -599,6 +599,24 @@ $(obj)u-boot.ltq.lzma.sfspl: $(obj)u-boo
23 $(obj)tools/ltq-boot-image -t sfspl -e $(CONFIG_SPL_TEXT_BASE) \
24 -s $(obj)spl/u-boot-spl.bin -u $< -o $@
26 +$(obj)u-boot.ltq.nandspl: $(obj)u-boot.img $(obj)spl/u-boot-spl.bin
27 + $(obj)tools/ltq-boot-image -t nandspl -e $(CONFIG_SPL_TEXT_BASE) \
28 + -x $(CONFIG_SYS_NAND_U_BOOT_OFFS) \
29 + -p $(CONFIG_SYS_NAND_PAGE_SIZE) \
30 + -s $(obj)spl/u-boot-spl.bin -u $< -o $@
32 +$(obj)u-boot.ltq.lzo.nandspl: $(obj)u-boot.lzo.img $(obj)spl/u-boot-spl.bin
33 + $(obj)tools/ltq-boot-image -t nandspl -e $(CONFIG_SPL_TEXT_BASE) \
34 + -x $(CONFIG_SYS_NAND_U_BOOT_OFFS) \
35 + -p $(CONFIG_SYS_NAND_PAGE_SIZE) \
36 + -s $(obj)spl/u-boot-spl.bin -u $< -o $@
38 +$(obj)u-boot.ltq.lzma.nandspl: $(obj)u-boot.lzma.img $(obj)spl/u-boot-spl.bin
39 + $(obj)tools/ltq-boot-image -t nandspl -e $(CONFIG_SPL_TEXT_BASE) \
40 + -x $(CONFIG_SYS_NAND_U_BOOT_OFFS) \
41 + -p $(CONFIG_SYS_NAND_PAGE_SIZE) \
42 + -s $(obj)spl/u-boot-spl.bin -u $< -o $@
44 $(obj)u-boot.ltq.norspl: $(obj)u-boot.img $(obj)spl/u-boot-spl.bin
45 cat $(obj)spl/u-boot-spl.bin $< > $@