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>
This commit is contained in:
Felix Held 2019-06-20 14:42:35 +02:00
parent d5a11ed6c8
commit e56bf31824
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
static size_t backup_size(void) static size_t backup_size(void)
{ {
size_t car_size = car_data_size(); 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) static void memcpy_(void *d, const void *s, size_t len)