summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2014-12-03 15:00:41 +0800
committerYork Sun <yorksun@freescale.com>2014-12-11 09:36:34 -0800
commit94cb17d0786867b8bffb684adb48f7111d9d5b63 (patch)
tree50d099cbf8989e4a109bf371fa4ae287bbfcb5a7 /Makefile
parentafff13790e38eea6378801616b1749464f796ad3 (diff)
downloadu-boot-imx-94cb17d0786867b8bffb684adb48f7111d9d5b63.zip
u-boot-imx-94cb17d0786867b8bffb684adb48f7111d9d5b63.tar.gz
u-boot-imx-94cb17d0786867b8bffb684adb48f7111d9d5b63.tar.bz2
ls102xa: pblimage: Add pblimage tool support for LS102xA
For LS102xA, the size of spl/u-boot-spl.bin is variable. This patch adds the support to deal with the variable u-boot size in pblimage tool. It will be padded to 64 byte boundary. Use pblimage_check_params() to add the specific operations for ARM, such as PBI CRC and END command and the calculation of pbl_cmd_initaddr. Signed-off-by: Alison Wang <alison.wang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2308828..d3e99e5 100644
--- a/Makefile
+++ b/Makefile
@@ -999,7 +999,8 @@ u-boot-img.bin: spl/u-boot-spl.bin u-boot.img FORCE
#concatenated with u-boot binary. It is need by PowerPC SoC having
#internal SRAM <= 512KB.
MKIMAGEFLAGS_u-boot-spl.pbl = -n $(srctree)/$(CONFIG_SYS_FSL_PBL_RCW:"%"=%) \
- -R $(srctree)/$(CONFIG_SYS_FSL_PBL_PBI:"%"=%) -T pblimage
+ -R $(srctree)/$(CONFIG_SYS_FSL_PBL_PBI:"%"=%) -T pblimage \
+ -A $(ARCH) -a $(CONFIG_SPL_TEXT_BASE)
spl/u-boot-spl.pbl: spl/u-boot-spl.bin FORCE
$(call if_changed,mkimage)