Hi,
On 08/16/2012 12:43 PM, Nikita Kiryanov wrote:
If the bmp pointer is null (for example because the environment
variable "splashimage" was not defined) then U-Boot will get stuck
when trying to load the image.
Which branch is this? At [1] there is a check for this..

1600         s = getenv("splashimage");
1601         if (s != NULL) {
...

Regards,
Jeroen

[1] .... drivers/video/cfb_console.c.....
Just ignore above, since there are apparently more BMP drawing routines,
and I mentioned the wrong one. The same check is in lcd.c though:

822: if (do_splash && (s = getenv("splashimage")) != NULL) {

Regards,
Jeroen

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to