x86: Move cache-as-RAM code into a common location

This cache-as-RAM (CAR) code is common to several Intel chips. Create a new
intel_common directory and move it in there.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
master
Simon Glass 8 years ago committed by Bin Meng
parent 342727ace6
commit 1223d737a3
  1. 1
      arch/x86/cpu/Makefile
  2. 7
      arch/x86/cpu/intel_common/Makefile
  3. 0
      arch/x86/cpu/intel_common/car.S
  4. 1
      arch/x86/cpu/ivybridge/Makefile

@ -18,6 +18,7 @@ AFLAGS_call32.o := -fpic -fshort-wchar
extra-y += call32.o
obj-y += intel_common/
obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/
obj-$(CONFIG_SYS_COREBOOT) += coreboot/
obj-$(CONFIG_EFI_APP) += efi/

@ -0,0 +1,7 @@
#
# Copyright (c) 2016 Google, Inc
#
# SPDX-License-Identifier: GPL-2.0+
#
obj-$(CONFIG_HAVE_MRC) += car.o

@ -7,7 +7,6 @@
ifdef CONFIG_HAVE_FSP
obj-y += fsp_configs.o ivybridge.o
else
obj-y += car.o
obj-y += cpu.o
obj-y += early_me.o
obj-y += gma.o

Loading…
Cancel
Save