diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2013-11-04 17:02:45 -0800 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2014-04-30 23:11:21 +0200 |
commit | 1f52f51f4e6dd2c97faa46e3287460d8b2ad335b (patch) | |
tree | e45fd6e6fe39da8fd3e36bce9f14bf07a2b41c0e /src/soc/intel/baytrail/baytrail | |
parent | 7fbe20bd2c3b8e0bcb667f5b1a07b80402fa8504 (diff) | |
download | coreboot-1f52f51f4e6dd2c97faa46e3287460d8b2ad335b.tar.xz |
baytrail: Add function to read top of low memory
The top of low memory is also the start of the region where
PCIe resources are allocated. This needs to be passed in
ACPI but is only readable from IOSF.
BUG=chrome-os-partner:23505
BRANCH=rambi
TEST=build and boot on rambi
Change-Id: Iad95335f72dc3e35b837bedb8d52d388c861a330
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/175625
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4935
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc/intel/baytrail/baytrail')
-rw-r--r-- | src/soc/intel/baytrail/baytrail/iomap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/baytrail/baytrail/iomap.h b/src/soc/intel/baytrail/baytrail/iomap.h index 77a55f5c05..d231dee5ec 100644 --- a/src/soc/intel/baytrail/baytrail/iomap.h +++ b/src/soc/intel/baytrail/baytrail/iomap.h @@ -79,4 +79,9 @@ #define SMBUS_BASE_ADDRESS 0xefa0 +#ifndef __ACPI__ +/* Read Top of Low Memory (BMBOUND) */ +uint32_t nc_read_top_of_low_memory(void); +#endif + #endif /* _BAYTRAIL_IOMAP_H_ */ |