]> git.dujemihanovic.xyz Git - u-boot.git/commit
exynos_fb: Remove usage of static defines
authorAjay Kumar <ajaykumar.rs@samsung.com>
Fri, 5 Sep 2014 11:23:30 +0000 (16:53 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 5 Sep 2014 11:37:07 +0000 (20:37 +0900)
commitf0017175e33d7c21269deebc5e2ca2827b1e5975
treeab5921a656e54385b63f216247aff1b0319b3eab
parentb09200639d4c052e2bdf0df6fe843b7a8bcf01cc
exynos_fb: Remove usage of static defines

Previously, we used to statically assign values for vl_col, vl_row and
vl_bpix using #defines like LCD_XRES, LCD_YRES and LCD_COLOR16.

Introducing the function exynos_lcd_early_init() would take care of this
assignment on the fly by parsing FIMD DT properties, thereby allowing us
to remove LCD_XRES and LCD_YRES from the main config file.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/include/asm/arch-exynos/system.h
board/samsung/common/board.c
drivers/video/exynos_fb.c
include/configs/exynos5250-dt.h
include/configs/s5pc210_universal.h
include/configs/trats.h
include/configs/trats2.h