diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-10 18:10:17 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-16 09:37:28 +0000 |
commit | dc0c02fe34fe72b81c0d49879ba342e1125ab535 (patch) | |
tree | 5bd55df9b9511405a0dc63e67f5d28908d3a6005 /src/soc/intel | |
parent | 7fb69b01c388fd722fef7fdc6741d13ee5f81733 (diff) | |
download | coreboot-dc0c02fe34fe72b81c0d49879ba342e1125ab535.tar.xz |
soc/intel: Switch guard to CHROMEOS_RAMOOPS
Change-Id: I484220342b5c1055471403f562a8c9db6a403a05
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50605
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/baytrail/northcluster.c | 2 | ||||
-rw-r--r-- | src/soc/intel/braswell/northcluster.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/baytrail/northcluster.c b/src/soc/intel/baytrail/northcluster.c index 310ce4d552..f4cbc940d6 100644 --- a/src/soc/intel/baytrail/northcluster.c +++ b/src/soc/intel/baytrail/northcluster.c @@ -120,7 +120,7 @@ static void nc_read_resources(struct device *dev) mmio_resource(dev, index++, (0xa0000 >> 10), (0xc0000 - 0xa0000) >> 10); reserved_ram_resource(dev, index++, (0xc0000 >> 10), (0x100000 - 0xc0000) >> 10); - if (CONFIG(CHROMEOS)) + if (CONFIG(CHROMEOS_RAMOOPS)) chromeos_reserve_ram_oops(dev, index++); } diff --git a/src/soc/intel/braswell/northcluster.c b/src/soc/intel/braswell/northcluster.c index 0ef58b2470..339e2933dc 100644 --- a/src/soc/intel/braswell/northcluster.c +++ b/src/soc/intel/braswell/northcluster.c @@ -146,7 +146,7 @@ static void nc_read_resources(struct device *dev) size_k = RES_IN_KiB(0x00100000); mmio_resource(dev, index++, base_k, size_k); - if (CONFIG(CHROMEOS)) + if (CONFIG(CHROMEOS_RAMOOPS)) chromeos_reserve_ram_oops(dev, index++); } |