aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/quark/memmap.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-07-21 09:17:10 -0700
committerLee Leahy <leroy.p.leahy@intel.com>2016-08-03 17:31:39 +0200
commit14d09264a2b64c38bf4e5cf309947a8a2fbafc6d (patch)
tree5a259955ae9932c4dbc0c96864e7cb05410e8bf0 /src/soc/intel/quark/memmap.c
parent1cfb555e713f57b86d6ae779704e2861e654b25c (diff)
soc/intel/quark: Remove use of EDK-II macros and data types
Include assert.h to use coreboot's ASSERT macro. Replace the use of UINT32 data type with uint32_t. Replace the use of UINT8 data type with uint8_t. TEST=Build and run on Galileo Gen2 Change-Id: I0bb7e43ea570f7b20355c5d05675ebf593942e83 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/15858 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/quark/memmap.c')
-rw-r--r--src/soc/intel/quark/memmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/quark/memmap.c b/src/soc/intel/quark/memmap.c
index 351fab7f1c..f880443e1f 100644
--- a/src/soc/intel/quark/memmap.c
+++ b/src/soc/intel/quark/memmap.c
@@ -26,7 +26,7 @@ size_t mmap_region_granularity(void)
void *cbmem_top(void)
{
- UINT32 top_of_memory;
+ uint32_t top_of_memory;
/* Determine the TSEG base */
top_of_memory = reg_host_bridge_unit_read(QNC_MSG_FSBIC_REG_HSMMC);