summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-10 19:22:31 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-16 09:38:29 +0000
commit11c6b8b53182c5c83095136712f3d38eb5c1dd6a (patch)
tree71bf26998c487dd0528cd7f720e2b385be93e211 /src/soc/intel/braswell
parentb8b41338aae9acfa2a49c64d8e57a95653aef610 (diff)
nb,soc/intel: Switch to CHROMEOS_RAMOOPS_DYNAMIC
Change-Id: I4ec59cea256a39a94b05cdeb8f914830ac0bd3f7 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50607 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/braswell')
-rw-r--r--src/soc/intel/braswell/Kconfig3
-rw-r--r--src/soc/intel/braswell/northcluster.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/intel/braswell/Kconfig b/src/soc/intel/braswell/Kconfig
index 0e1b6db34f..720597c59a 100644
--- a/src/soc/intel/braswell/Kconfig
+++ b/src/soc/intel/braswell/Kconfig
@@ -52,6 +52,9 @@ config DCACHE_BSP_STACK_SIZE
The amount of anticipated stack usage in CAR by bootblock and
other stages.
+config CHROMEOS
+ select CHROMEOS_RAMOOPS_DYNAMIC
+
config VBOOT
select VBOOT_MUST_REQUEST_DISPLAY
select VBOOT_STARTS_IN_ROMSTAGE
diff --git a/src/soc/intel/braswell/northcluster.c b/src/soc/intel/braswell/northcluster.c
index 339e2933dc..b7ddee42b2 100644
--- a/src/soc/intel/braswell/northcluster.c
+++ b/src/soc/intel/braswell/northcluster.c
@@ -13,7 +13,6 @@
#include <soc/iosf.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
-#include <vendorcode/google/chromeos/chromeos.h>
#include <stddef.h>
/*
@@ -145,9 +144,6 @@ static void nc_read_resources(struct device *dev)
base_k = RES_IN_KiB(LAPIC_DEFAULT_BASE);
size_k = RES_IN_KiB(0x00100000);
mmio_resource(dev, index++, base_k, size_k);
-
- if (CONFIG(CHROMEOS_RAMOOPS))
- chromeos_reserve_ram_oops(dev, index++);
}
static void nc_generate_ssdt(const struct device *dev)