diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-10-10 12:34:21 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-13 19:14:57 +0000 |
commit | d6b6b2261667f0a4688fa0cf9f0699596d7efc93 (patch) | |
tree | d2f3a5f715f911dbfd8013c060c1c9b9ea8f5b99 /src/soc/intel/quark | |
parent | 5f69b867f0c9ec9c0afab4df70a3d0d06809957a (diff) |
payloads,src: Replace ALIGN(x, a) by ALIGN_UP(x, a) for clarity
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: I80f3d2c90c58daa62651f6fd635c043b1ce38b84
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68255
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/intel/quark')
-rw-r--r-- | src/soc/intel/quark/memmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/quark/memmap.c b/src/soc/intel/quark/memmap.c index 97a9fd88f2..46671b2414 100644 --- a/src/soc/intel/quark/memmap.c +++ b/src/soc/intel/quark/memmap.c @@ -12,7 +12,7 @@ void fill_postcar_frame(struct postcar_frame *pcf) /* Locate the top of RAM */ top_of_low_usable_memory = (uintptr_t) cbmem_top(); - top_of_ram = ALIGN(top_of_low_usable_memory, 16 * MiB); + top_of_ram = ALIGN_UP(top_of_low_usable_memory, 16 * MiB); /* Cache postcar and ramstage */ postcar_frame_add_mtrr(pcf, top_of_ram - (16 * MiB), 16 * MiB, |