summaryrefslogtreecommitdiff
path: root/src/soc/samsung/exynos5250/fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/samsung/exynos5250/fb.c')
-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);