drivers/intel/fsp: use ALIGN_UP instead of ALIGN for better readability

Change-Id: I41fd50dc1e30332261f80e99419dad2635b5a54a
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33636
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:49:16 +02:00
parent f0cbb09a62
commit 51ff9e8415
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ void raminit(struct romstage_params *params)
else if (!vboot_recovery_mode_enabled()) {
/* Do not save MRC data in recovery path */
params->data_to_save = GET_GUID_HOB_DATA(mrc_hob);
params->data_to_save_size = ALIGN(
params->data_to_save_size = ALIGN_UP(
((u32)GET_HOB_LENGTH(mrc_hob)), 16);
}
}