summaryrefslogtreecommitdiffstats
path: root/meta/packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch')
-rw-r--r--meta/packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch b/meta/packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch
deleted file mode 100644
index 8ea48cf484..0000000000
--- a/meta/packages/uboot/u-boot-mkimage-openmoko-native/splashimage-command.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1drivers/cfb_console.c (video_logo): if "splashimage" doesn't contain an
2 address, use its content as a command
3
4- Werner Almesberger <werner@openmoko.org>
5
6Index: u-boot/drivers/cfb_console.c
7===================================================================
8--- u-boot.orig/drivers/cfb_console.c
9+++ u-boot/drivers/cfb_console.c
10@@ -1121,7 +1121,13 @@ static void *video_logo (void)
11 ulong addr;
12
13 if ((s = getenv ("splashimage")) != NULL) {
14- addr = simple_strtoul (s, NULL, 16);
15+ char *end;
16+
17+ addr = simple_strtoul (s, &end, 16);
18+ if (*end) {
19+ run_command(s, 0);
20+ return video_fb_address;
21+ }
22
23 if (video_display_bitmap (addr, 0, 0) == 0) {
24 return ((void *) (video_fb_address));