diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-08-05 06:42:00 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2007-08-05 06:42:00 +0000 |
commit | 7a792e2f3fd515657da9dc0537a6e32a2cc06180 (patch) | |
tree | 0f2f64bc0f701787bbc45f4d74f7dd3bc73ecd07 /packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch | |
parent | 39bd83e6d9e25f27377191804dfb8a334eb4b7e6 (diff) |
rename u-boot[-mkimage]-gta01[-native] to u-boot[-mkimage]-openmoko[-native]
Diffstat (limited to 'packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch')
-rw-r--r-- | packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch b/packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch new file mode 100644 index 0000000000..8ea48cf484 --- /dev/null +++ b/packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch @@ -0,0 +1,24 @@ +drivers/cfb_console.c (video_logo): if "splashimage" doesn't contain an + address, use its content as a command + +- Werner Almesberger <werner@openmoko.org> + +Index: u-boot/drivers/cfb_console.c +=================================================================== +--- u-boot.orig/drivers/cfb_console.c ++++ u-boot/drivers/cfb_console.c +@@ -1121,7 +1121,13 @@ static void *video_logo (void) + ulong addr; + + if ((s = getenv ("splashimage")) != NULL) { +- addr = simple_strtoul (s, NULL, 16); ++ char *end; ++ ++ addr = simple_strtoul (s, &end, 16); ++ if (*end) { ++ run_command(s, 0); ++ return video_fb_address; ++ } + + if (video_display_bitmap (addr, 0, 0) == 0) { + return ((void *) (video_fb_address)); |