summaryrefslogtreecommitdiff
path: root/board/freescale/t208xrdb/Makefile
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2014-04-18 08:43:40 (GMT)
committerYork Sun <yorksun@freescale.com>2014-04-23 00:58:52 (GMT)
commit4d66668300439972abc4990f23fdea771f0830fd (patch)
treec76dc30eda02664de93aceaf9332ca05671220ef /board/freescale/t208xrdb/Makefile
parentb19e288f47ea7db98eefbebdda0fe0fad66d845c (diff)
downloadu-boot-4d66668300439972abc4990f23fdea771f0830fd.tar.xz
board/t208xrdb: Add support of 2-stage NAND/SPI/SD boot
Add support of 2-stage NAND/SPI/SD boot loader using SPL framework. PBL initializes the internal CPC-SRAM and copy SPL(160K) to it, SPL further initializes DDR using SPD and environment and copy u-boot(768K) from SPI/SD/NAND to DDR, finally SPL transfers control to u-boot. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/t208xrdb/Makefile')
-rw-r--r--board/freescale/t208xrdb/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/freescale/t208xrdb/Makefile b/board/freescale/t208xrdb/Makefile
index 092c9ff..9605f8b 100644
--- a/board/freescale/t208xrdb/Makefile
+++ b/board/freescale/t208xrdb/Makefile
@@ -4,10 +4,15 @@
# SPDX-License-Identifier: GPL-2.0+
#
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+else
obj-$(CONFIG_T2080RDB) += t208xrdb.o
obj-$(CONFIG_T2080RDB) += eth_t208xrdb.o
obj-$(CONFIG_T2080RDB) += cpld.o
obj-$(CONFIG_PCI) += pci.o
+endif
+
obj-y += ddr.o
obj-y += law.o
obj-y += tlb.o