summaryrefslogtreecommitdiff
path: root/board/freescale/t4rdb/Makefile
diff options
context:
space:
mode:
authorChunhe Lan <Chunhe.Lan@freescale.com>2015-03-20 09:08:54 (GMT)
committerYork Sun <yorksun@freescale.com>2015-05-04 16:24:04 (GMT)
commit373762c34cd33b4a445b758090daaa87ccfa3fc6 (patch)
tree448991328a7607ead530b1ea2ec9b3f6e716d755 /board/freescale/t4rdb/Makefile
parent0dc78ff857337a82d39d7e4390e317ffbc93097f (diff)
downloadu-boot-fsl-qoriq-373762c34cd33b4a445b758090daaa87ccfa3fc6.tar.xz
powerpc/t4rdb: Add SD boot support for T4240RDB board
This patch adds SD boot support for T4240RDB board. SPL framework is used. PBL initializes the internal RAM and copies SPL to it. Then SPL initializes DDR using SPD and copies u-boot from SD card to DDR, finally SPL transfers control to u-boot. Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com> [York Sun: Fix T4240RDB_SDCARD_defcofig] Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/t4rdb/Makefile')
-rw-r--r--board/freescale/t4rdb/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/freescale/t4rdb/Makefile b/board/freescale/t4rdb/Makefile
index 3886e3d..83b55ee 100644
--- a/board/freescale/t4rdb/Makefile
+++ b/board/freescale/t4rdb/Makefile
@@ -4,10 +4,14 @@
# SPDX-License-Identifier: GPL-2.0+
#
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+else
obj-$(CONFIG_T4240RDB) += t4240rdb.o
obj-y += cpld.o
-obj-y += ddr.o
obj-y += eth.o
obj-$(CONFIG_PCI) += pci.o
+endif
+obj-y += ddr.o
obj-y += law.o
obj-y += tlb.o