summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-11 06:49:53 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:13:59 -0400
commit1938f4a5b62fc03c52b47697a89b2bb47b77c90c (patch)
treede3f0cdbd68d2f74dff99aa134ba080dd5891bdc /common/Makefile
parenta6741bce507151f561250a00f28bcbfb2372ba02 (diff)
downloadu-boot-imx-1938f4a5b62fc03c52b47697a89b2bb47b77c90c.zip
u-boot-imx-1938f4a5b62fc03c52b47697a89b2bb47b77c90c.tar.gz
u-boot-imx-1938f4a5b62fc03c52b47697a89b2bb47b77c90c.tar.bz2
Introduce generic pre-relocation board_f.c
This file handles common pre-relocation init for boards which use the generic framework. It starts up the console, DRAM, performs relocation and then jumps to post-relocation init. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Wolfgang Denk <wd@denx.de> Acked-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 719fc23..a5f5b1a 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -36,6 +36,9 @@ COBJS-y += s_record.o
COBJS-y += xyzModem.o
COBJS-y += cmd_disk.o
+# boards
+COBJS-$(CONFIG_SYS_GENERIC_BOARD) += board_f.o
+
# core command
COBJS-y += cmd_boot.o
COBJS-$(CONFIG_CMD_BOOTM) += cmd_bootm.o