From e56bf318243f1b541a06e0c52e040a943dbf62bf Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 20 Jun 2019 14:42:35 +0200 Subject: [PATCH] cpu/amd: use ALIGN_UP instead of ALIGN for better readability Change-Id: Icef97ea764567a311b4cd63b65ad584ed0360152 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/33634 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: HAOUAS Elyes --- src/cpu/amd/car/post_cache_as_ram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index 18e7542e6d..f49c6765c6 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)