summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/baytrail
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-06-28 21:43:31 +0300
committerFelix Held <felix-coreboot@felixheld.de>2022-07-05 13:08:34 +0000
commit0a18d64d00a9fcfd096c14f28e7b4d62bca0a829 (patch)
treec6574f70b348b215850e49f97236cd6038e31985 /src/soc/intel/baytrail
parente0ddbbb0d2f14300eb08561a508d767d92a6201a (diff)
downloadcoreboot-0a18d64d00a9fcfd096c14f28e7b4d62bca0a829.tar.gz
coreboot-0a18d64d00a9fcfd096c14f28e7b4d62bca0a829.tar.bz2
coreboot-0a18d64d00a9fcfd096c14f28e7b4d62bca0a829.zip
nb,soc/intel: Handle upper RAM boundary
Change-Id: I2d99523647dfb43265db8f2701b525afd1870fc5 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55929 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r--src/soc/intel/baytrail/northcluster.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/baytrail/northcluster.c b/src/soc/intel/baytrail/northcluster.c
index 3d6cae9b61e8..ecfc3ff5033f 100644
--- a/src/soc/intel/baytrail/northcluster.c
+++ b/src/soc/intel/baytrail/northcluster.c
@@ -100,8 +100,7 @@ static void nc_read_resources(struct device *dev)
*/
bmbound_hi = iosf_bunit_read(BUNIT_BMBOUND_HI) & ~((1 << 24) - 1);
bmbound_hi <<= 4;
- if (bmbound_hi > 4ull * GiB)
- ram_from_to(dev, index++, 4ull * GiB, bmbound_hi);
+ upper_ram_end(dev, index++, bmbound_hi);
/*
* Reserve everything between A segment and 1MB: