[HACK]cavium/cn81xx/soc: Don't advertise CAR area as usable

It's broken.

Change-Id: I3ec8fff99e21cbdf4ad3f4562ff9bbc1cd3c135b
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/28003
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
Patrick Rudolph 2018-08-10 13:53:04 +02:00 committed by Philipp Deppenwiese
parent 3fca4ed45e
commit eead87961f
1 changed files with 2 additions and 1 deletions

View File

@ -314,7 +314,8 @@ void bootmem_platform_add_ranges(void)
static void soc_read_resources(device_t dev)
{
ram_resource(dev, 0, (uintptr_t)_dram / KiB, sdram_size_mb() * KiB);
// HACK: Don't advertise bootblock romstage CAR region, it's broken...
ram_resource(dev, 0, 2 * KiB, sdram_size_mb() * KiB - 2 * KiB);
}
static void soc_init_atf(void)