[U-Boot] [PATCH v2] TRATS: initialize panel_info data structure in board file

Anatolij Gustschin agust at denx.de
Thu Apr 26 09:59:32 CEST 2012


Hi,

On Thu, 26 Apr 2012 08:29:39 +0900
Donghwa Lee <dh09.lee at samsung.com> wrote:

> panel_info data structure is gloable variable, so, I have initialized it
> in board file. If it is initialized in init_panel_info() like existing,
> it can't be used in drv_lcd_init() in common/lcd.c because
> init_panel_info() is called after drv_lcd_init().
> 
> change of v1:
>  - I had made a mistake that must do not included variables of vidinfo_t
> data structure was included in the file. So, I removed it.
> 
> Signed-off-by: Donghwa Lee <dh09.lee at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
>  board/samsung/trats/trats.c |   71 ++++++++++++++++++++++---------------------
>  drivers/video/exynos_fb.c   |    3 --
>  2 files changed, 36 insertions(+), 38 deletions(-)

Acked-by: Anatolij Gustschin <agust at denx.de>

This patch should also go through u-boot-samsung tree.

Thanks,
Anatolij


More information about the U-Boot mailing list