summaryrefslogtreecommitdiff
path: root/board/ait/cam_enc_4xx
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2012-12-06 13:33:16 +0000
committerKim Phillips <kim.phillips@freescale.com>2012-12-19 17:45:36 -0600
commit74752baa738ee9dafe69d726910e26da56f6f722 (patch)
tree4c50cbe789d890c198100585a0f82956df182f52 /board/ait/cam_enc_4xx
parentebbf0d20aa85f623c49b7ed3349ebfea450c152d (diff)
downloadu-boot-imx-74752baa738ee9dafe69d726910e26da56f6f722.zip
u-boot-imx-74752baa738ee9dafe69d726910e26da56f6f722.tar.gz
u-boot-imx-74752baa738ee9dafe69d726910e26da56f6f722.tar.bz2
spl: Change PAD_TO to CONFIG_SPL_PAD_TO
This was already used by some SPL targets, and allows the pad amount to be specified by board config headers rather than only in makefile fragments. Also supply a pad-to of zero if the variable is undefined. It works without this, but this avoids relying on undocumented behavior. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board/ait/cam_enc_4xx')
-rw-r--r--board/ait/cam_enc_4xx/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ait/cam_enc_4xx/config.mk b/board/ait/cam_enc_4xx/config.mk
index 744b927..c280029 100644
--- a/board/ait/cam_enc_4xx/config.mk
+++ b/board/ait/cam_enc_4xx/config.mk
@@ -8,7 +8,7 @@
#
#Provide at least 16MB spacing between us and the Linux Kernel image
-PAD_TO := 12320
+CONFIG_SPL_PAD_TO := 12320
UBL_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/ublimage.cfg
ifndef CONFIG_SPL_BUILD
ALL-y += $(obj)u-boot.ubl