summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-11-09 10:45:07 +0100
committerTom Rini <trini@konsulko.com>2015-11-12 18:13:21 -0500
commit8d7a2b83f9ba0467c3b4888ec2204d6fd13bbb65 (patch)
treec7e322b114cb563850164bcb2b52827da630eb34 /scripts
parent87da2690ab81b5f29f83dc85c55f933e6ef414bc (diff)
downloadblackbird-obmc-uboot-8d7a2b83f9ba0467c3b4888ec2204d6fd13bbb65.tar.gz
blackbird-obmc-uboot-8d7a2b83f9ba0467c3b4888ec2204d6fd13bbb65.zip
spl: Add support for CONFIG_OF_EMBED=y
CONFIG_OF_EMBED=y is the option which is here only for testing purpose and shouldn't be enabled by default as is describe at: "dts: Add a comment about CONFIG_OF_EMBED being for local use" (sha1: 3d3f60cb7a6bb6c338e00a9769fa918a8536096c) But still enabling this option locally shouldn't end up with compilation error when you build SPL. This patch fix it. Compilation error: lib/built-in.o: In function `fdtdec_setup': /mnt/disk/u-boot/lib/fdtdec.c:1246: undefined reference to `__dtb_dt_begin' Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reported-by: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.spl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index dd235b9d7a..8f690eb70c 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -56,6 +56,7 @@ libs-y += common/init/
libs-$(CONFIG_SPL_LIBCOMMON_SUPPORT) += common/
libs-$(CONFIG_SPL_LIBDISK_SUPPORT) += disk/
libs-y += drivers/
+libs-y += dts/
libs-y += fs/
libs-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/
libs-$(CONFIG_SPL_POST_MEM_SUPPORT) += post/drivers/
OpenPOWER on IntegriCloud