summaryrefslogtreecommitdiff
path: root/src/soc/samsung/exynos5250
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-10 12:34:21 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-13 19:14:57 +0000
commitd6b6b2261667f0a4688fa0cf9f0699596d7efc93 (patch)
treed2f3a5f715f911dbfd8013c060c1c9b9ea8f5b99 /src/soc/samsung/exynos5250
parent5f69b867f0c9ec9c0afab4df70a3d0d06809957a (diff)
payloads,src: Replace ALIGN(x, a) by ALIGN_UP(x, a) for clarity
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I80f3d2c90c58daa62651f6fd635c043b1ce38b84 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68255 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/samsung/exynos5250')
-rw-r--r--src/soc/samsung/exynos5250/fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/samsung/exynos5250/fb.c b/src/soc/samsung/exynos5250/fb.c
index 1fc926a7e1..ab097e294e 100644
--- a/src/soc/samsung/exynos5250/fb.c
+++ b/src/soc/samsung/exynos5250/fb.c
@@ -100,7 +100,7 @@ void fb_init(unsigned long int fb_size, void *lcdbase,
{
unsigned int val;
- fb_size = ALIGN(fb_size, 4096);
+ fb_size = ALIGN_UP(fb_size, 4096);
write32(&exynos_disp_ctrl->vidcon1, pd->ivclk | pd->fixvclk);
val = ENVID_ON | ENVID_F_ON | (pd->clkval_f << CLKVAL_F_OFFSET);