summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-27 22:13:38 -0700
committerSimon Glass <sjg@chromium.org>2015-02-05 22:16:44 -0700
commit7b02bf3c7dc74ab29e5c5f826cc0cfd141e41f2d (patch)
treef06bb646d0ce14ff241bf54f44f2c4370f586789
parent82196cf34f20c1aeb3f5d3d091b7edfdff37aaad (diff)
downloadu-boot-imx-7b02bf3c7dc74ab29e5c5f826cc0cfd141e41f2d.zip
u-boot-imx-7b02bf3c7dc74ab29e5c5f826cc0cfd141e41f2d.tar.gz
u-boot-imx-7b02bf3c7dc74ab29e5c5f826cc0cfd141e41f2d.tar.bz2
x86: Make CAR and DRAM FSP code common
For now this code seems to be the same for all FSP platforms. Make it common until we see what differences are required. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--arch/x86/cpu/queensbay/Makefile2
-rw-r--r--arch/x86/lib/fsp/Makefile2
-rw-r--r--arch/x86/lib/fsp/fsp_car.S (renamed from arch/x86/cpu/queensbay/tnc_car.S)0
-rw-r--r--arch/x86/lib/fsp/fsp_dram.c (renamed from arch/x86/cpu/queensbay/tnc_dram.c)0
4 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/cpu/queensbay/Makefile b/arch/x86/cpu/queensbay/Makefile
index b3e7d87..d8761fd 100644
--- a/arch/x86/cpu/queensbay/Makefile
+++ b/arch/x86/cpu/queensbay/Makefile
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y += tnc_car.o tnc_dram.o tnc.o topcliff.o
obj-y += fsp_configs.o
+obj-y += tnc.o topcliff.o
obj-$(CONFIG_PCI) += tnc_pci.o
diff --git a/arch/x86/lib/fsp/Makefile b/arch/x86/lib/fsp/Makefile
index 1b9b0e2..3a2bac0 100644
--- a/arch/x86/lib/fsp/Makefile
+++ b/arch/x86/lib/fsp/Makefile
@@ -4,4 +4,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
+obj-y += fsp_car.o
+obj-y += fsp_dram.o
obj-y += fsp_support.o
diff --git a/arch/x86/cpu/queensbay/tnc_car.S b/arch/x86/lib/fsp/fsp_car.S
index 5e09568..5e09568 100644
--- a/arch/x86/cpu/queensbay/tnc_car.S
+++ b/arch/x86/lib/fsp/fsp_car.S
diff --git a/arch/x86/cpu/queensbay/tnc_dram.c b/arch/x86/lib/fsp/fsp_dram.c
index 4c0a7c8..4c0a7c8 100644
--- a/arch/x86/cpu/queensbay/tnc_dram.c
+++ b/arch/x86/lib/fsp/fsp_dram.c