summaryrefslogtreecommitdiffstats
path: root/meta/packages/uboot/u-boot-mkimage-openmoko-native/enable-splash-bmp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/uboot/u-boot-mkimage-openmoko-native/enable-splash-bmp.patch')
-rw-r--r--meta/packages/uboot/u-boot-mkimage-openmoko-native/enable-splash-bmp.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage-openmoko-native/enable-splash-bmp.patch b/meta/packages/uboot/u-boot-mkimage-openmoko-native/enable-splash-bmp.patch
new file mode 100644
index 0000000000..dcb721c8d3
--- /dev/null
+++ b/meta/packages/uboot/u-boot-mkimage-openmoko-native/enable-splash-bmp.patch
@@ -0,0 +1,56 @@
1drivers/cfb_console.c: include asm/byteorder.h for le32_to_cpu and friends
2 [ shouldn't someone else have found this long ago ? ]
3include/configs/neo1973.h (CONFIG_COMMANDS): add CFG_CMD_BMP
4include/configs/neo1973.h: enable splash screen and BMP support
5include/configs/neo1973.h: remove #if 1 ... #endif around video definitions
6
7- Werner Almesberger <werner@openmoko.org>
8
9Index: u-boot/drivers/cfb_console.c
10===================================================================
11--- u-boot.orig/drivers/cfb_console.c
12+++ u-boot/drivers/cfb_console.c
13@@ -191,6 +191,7 @@ CONFIG_VIDEO_HW_CURSOR: - Uses the
14 #if (CONFIG_COMMANDS & CFG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
15 #include <watchdog.h>
16 #include <bmp_layout.h>
17+#include <asm/byteorder.h>
18 #endif /* (CONFIG_COMMANDS & CFG_CMD_BMP) || CONFIG_SPLASH_SCREEN */
19
20 /*****************************************************************************/
21Index: u-boot/include/configs/neo1973_gta01.h
22===================================================================
23--- u-boot.orig/include/configs/neo1973_gta01.h
24+++ u-boot/include/configs/neo1973_gta01.h
25@@ -86,6 +86,7 @@
26 /* CFG_CMD_IRQ | */ \
27 CFG_CMD_BOOTD | \
28 CFG_CMD_CONSOLE | \
29+ CFG_CMD_BMP | \
30 CFG_CMD_ASKENV | \
31 CFG_CMD_RUN | \
32 CFG_CMD_ECHO | \
33@@ -244,19 +245,21 @@
34 /* we have a board_late_init() function */
35 #define BOARD_LATE_INIT 1
36
37-#if 1
38 #define CONFIG_VIDEO
39 #define CONFIG_VIDEO_S3C2410
40 #define CONFIG_CFB_CONSOLE
41 #define CONFIG_VIDEO_LOGO
42+#define CONFIG_SPLASH_SCREEN
43+#define CFG_VIDEO_LOGO_MAX_SIZE (640*480+1024+100) /* 100 = slack */
44+#define CONFIG_VIDEO_BMP_GZIP
45 #define CONFIG_VGA_AS_SINGLE_DEVICE
46+#define CONFIG_UNZIP
47
48 #define VIDEO_KBD_INIT_FCT 0
49 #define VIDEO_TSTC_FCT serial_tstc
50 #define VIDEO_GETC_FCT serial_getc
51
52 #define LCD_VIDEO_ADDR 0x33d00000
53-#endif
54
55 #define CONFIG_S3C2410_NAND_BBT 1
56