]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: Make CAR and DRAM FSP code common
authorSimon Glass <sjg@chromium.org>
Wed, 28 Jan 2015 05:13:38 +0000 (22:13 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:07 +0000 (12:59 +0200)
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>
arch/x86/cpu/queensbay/Makefile
arch/x86/lib/fsp/Makefile
arch/x86/lib/fsp/fsp_car.S [moved from arch/x86/cpu/queensbay/tnc_car.S with 100% similarity]
arch/x86/lib/fsp/fsp_dram.c [moved from arch/x86/cpu/queensbay/tnc_dram.c with 100% similarity]

index b3e7d879560a5388f224c190b89ae260ad8c7e63..d8761fdfbd28523e45b7f1e0b5ef8d068234b6e8 100644 (file)
@@ -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
index 1b9b0e279a90b2d79ccf4b3fa363f525c40f66f3..3a2bac0636c243518042ec39a3007e2e5daad4d3 100644 (file)
@@ -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