coreboot-kgpe-d16/src
Rizwan Qureshi 3ad63565a5 soc/intel/skylake: Correct Cache as ram size
DCACHE_RAM_SIZE_TOTAL is set to 0x40000 and is being used to
set up CAR. Whereas DCACHE_RAM_SIZE which is set to 0x10000
is used to calculate the _car_region_end in car.ld. If the FSP CAR
requirement is greater than or even close to DCACHE_RAM_SIZE then,
the CAR region for FSP will be determined to be below the overall
CAR region boundary i.e, out of CAR memory range.

This is working with FSP 1.1 because we provide the FspCarSize
and FspCarBase explicitly in a UPD. Hence, FSP is still able to
use the upper region of CAR memory for its purpose.
However, it will be a problem in case of FSP2.0 where FSP usable CAR
is calculated using _car_region_end.

So, Remove the the use of DCACHE_RAM_SIZE_TOTAL and set
DCACHE_RAM_SIZE to correct value i.e, 0x40000(256KB)

Change-Id: Ie2cb8bb0705a37edb3414850d7659f8a3dd6958b
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/16236
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins)
2016-08-18 18:13:55 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch arch/riscv: Improve and refactor trap handling diagnostics 2016-08-15 18:28:03 +02:00
commonlib commonlib/region: allow empty mmap()/munmap() in region_device_ops 2016-08-15 21:03:06 +02:00
console console: Add write line routine 2016-08-10 22:30:19 +02:00
cpu Kconfig: lay groundwork for not assuming SPI flash boot device 2016-08-18 06:18:21 +02:00
device src/device: Capitalize CPU, RAM and ROM 2016-07-31 18:33:30 +02:00
drivers Kconfig: lay groundwork for not assuming SPI flash boot device 2016-08-18 06:18:21 +02:00
ec chromeec/acpi: add Tablet event and EC ACPI MEM 2016-08-12 18:06:53 +02:00
include console: Change CONFIG_CHROMEOS requirement from do_printk_va_list() 2016-08-16 23:14:30 +02:00
lib Revert "Kconfig: separate memory mapped boot device from SPI" 2016-08-15 21:24:02 +02:00
mainboard Kconfig: lay groundwork for not assuming SPI flash boot device 2016-08-18 06:18:21 +02:00
northbridge x4x: make preallocated IGD memory a cmos option 2016-08-09 10:43:03 +02:00
soc soc/intel/skylake: Correct Cache as ram size 2016-08-18 18:13:55 +02:00
southbridge chromeos chipsets: select RTC usage 2016-08-08 18:37:37 +02:00
superio superio/*: Relocate Kconfig to chip folder. 2016-08-09 10:38:30 +02:00
vboot vboot: Move TPM-related Kconfig selects from CHROMEOS to VBOOT 2016-08-16 23:14:21 +02:00
vendorcode vboot: Move TPM-related Kconfig selects from CHROMEOS to VBOOT 2016-08-16 23:14:21 +02:00
Kconfig Kconfig: lay groundwork for not assuming SPI flash boot device 2016-08-18 06:18:21 +02:00