From: Wolfgang Denk Date: Tue, 29 Jan 2013 14:46:03 +0100 Subject: [U-Boot] [PATCH V1 4/7] lcd: add option for board specific splash screen preparation In-Reply-To: <1359463349-11649-5-git-send-email-nikita@compulab.co.il> References: <1359463349-11649-1-git-send-email-nikita@compulab.co.il> <1359463349-11649-5-git-send-email-nikita@compulab.co.il> Message-ID: <20130129134603.C10FB2A08AC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Nikita Kiryanov, In message <1359463349-11649-5-git-send-email-nikita@compulab.co.il> you wrote: > Currently there is no logical place to put the code that prepares the > splash image data. The splash image data should be ready in memory > before bmp_display() is called, and after the environment is ready > (since lcd.c looks for the splash image in an address specified by > the environment variable "splashimage"). > > Our window of opportunity in board_init_r() is therefore: between > env_relocate() and bmp_display(), and from the available options > only the lcd related functions in drv_lcd_init() seem appropriate > for such lcd oriented code. > > Add the option to prepare the splash image data in lcd_logo() right > before it is sent to be displayed. > > Signed-off-by: Nikita Kiryanov > Signed-off-by: Igor Grinberg You should add the video custodian on Cc: for such patches. [Done here]. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "He only drinks when he gets depressed." "Why does he get depressed?" "Sometimes it's because he hasn't had a drink." - Terry Pratchett, _Men at Arms_