diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2018-08-10 13:53:04 +0200 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-08-10 23:23:53 +0000 |
commit | eead87961f909a012a74cbd47effe83c76eaf5e7 (patch) | |
tree | 30c1f760e11c4935667e83d95e0513e49a31c7bb /src/soc | |
parent | 3fca4ed45ea38081941a06531c114e463ef1a725 (diff) | |
download | coreboot-eead87961f909a012a74cbd47effe83c76eaf5e7.tar.xz |
[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>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/cavium/cn81xx/soc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/cavium/cn81xx/soc.c b/src/soc/cavium/cn81xx/soc.c index 9dbbcbf1fd..b575ca4391 100644 --- a/src/soc/cavium/cn81xx/soc.c +++ b/src/soc/cavium/cn81xx/soc.c @@ -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) |