From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 26 Apr 2012 09:59:32 +0200 Subject: [U-Boot] [PATCH v2] TRATS: initialize panel_info data structure in board file In-Reply-To: <4F9888E3.3020502@samsung.com> References: <4F9888E3.3020502@samsung.com> Message-ID: <20120426095932.1f027dec@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Thu, 26 Apr 2012 08:29:39 +0900 Donghwa Lee 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 > Signed-off-by: Kyungmin Park > --- > board/samsung/trats/trats.c | 71 ++++++++++++++++++++++--------------------- > drivers/video/exynos_fb.c | 3 -- > 2 files changed, 36 insertions(+), 38 deletions(-) Acked-by: Anatolij Gustschin This patch should also go through u-boot-samsung tree. Thanks, Anatolij