diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2019-06-20 14:42:35 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2019-06-21 12:50:09 +0000 |
commit | e56bf318243f1b541a06e0c52e040a943dbf62bf (patch) | |
tree | 4352b73694fc8ff73c0cbed189fe7d6894b0e6f7 /src/cpu | |
parent | d5a11ed6c82a7a3e6d8551e27feda96fb505498b (diff) | |
download | coreboot-e56bf318243f1b541a06e0c52e040a943dbf62bf.tar.gz coreboot-e56bf318243f1b541a06e0c52e040a943dbf62bf.tar.bz2 coreboot-e56bf318243f1b541a06e0c52e040a943dbf62bf.zip |
cpu/amd: use ALIGN_UP instead of ALIGN for better readability
Change-Id: Icef97ea764567a311b4cd63b65ad584ed0360152
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33634
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/amd/car/post_cache_as_ram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index 18e7542e6d63..f49c6765c6d9 100644 --- a/src/cpu/amd/car/post_cache_as_ram.c +++ b/src/cpu/amd/car/post_cache_as_ram.c @@ -45,7 +45,7 @@ static size_t backup_size(void) { size_t car_size = car_data_size(); - return ALIGN(car_size + 1024, 1024); + return ALIGN_UP(car_size + 1024, 1024); } static void memcpy_(void *d, const void *s, size_t len) |