summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_1
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2019-06-20 14:49:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2019-06-21 12:50:36 +0000
commit51ff9e8415263d5e3afb2aa3e85ca8bbccd166af (patch)
tree0eed0f79cf771e0134c901a03173157f7364c268 /src/drivers/intel/fsp1_1
parentf0cbb09a624b8d7e06d744857331aa9c8810d72f (diff)
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>
Diffstat (limited to 'src/drivers/intel/fsp1_1')
-rw-r--r--src/drivers/intel/fsp1_1/raminit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/fsp1_1/raminit.c b/src/drivers/intel/fsp1_1/raminit.c
index eff011aa62..a631fcae60 100644
--- a/src/drivers/intel/fsp1_1/raminit.c
+++ b/src/drivers/intel/fsp1_1/raminit.c
@@ -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);
}
}