소스 검색

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>
Simon Glass 10 년 전
부모
커밋
7b02bf3c7d
4개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      arch/x86/cpu/queensbay/Makefile
  2. 2 0
      arch/x86/lib/fsp/Makefile
  3. 0 0
      arch/x86/lib/fsp/fsp_car.S
  4. 0 0
      arch/x86/lib/fsp/fsp_dram.c

+ 1 - 1
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

+ 2 - 0
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

+ 0 - 0
arch/x86/cpu/queensbay/tnc_car.S → arch/x86/lib/fsp/fsp_car.S


+ 0 - 0
arch/x86/cpu/queensbay/tnc_dram.c → arch/x86/lib/fsp/fsp_dram.c