[PATCH Try #2] GTA-02 U-Boot Splash working
Werner Almesberger
werner at openmoko.org
Tue Jan 29 17:10:43 CET 2008
Argh, just noticed that the GTA02 splash screen patch broke u-boot
builds for GTA01. Strange that nobody has complained yet.
The problem was that, while we have CONFIG_GTA02_REVISION, we don't
have the same thing for GTA01 (i.e., CONFIG_GTA01_REVISION).
One reason is that GTA01 has a non-linear numbering scheme, with
a v# and a Bv# line (much to everybody's confusion), while GTA02
only has an A# line. (And I hope we'll keep it that way ;-)
I've made a trivial fix for this in revision 3980.
The latest u-boot now runs nicely on GTA01 as well.
- Werner
---------------------------------- cut here -----------------------------------
gta02-splash.patch:
- board/neo1973/common/jbt6k74.c (top-level, jbt6k74_init): unfortunately,
there is no CONFIG_GTA01_REVISION. Use CONFIG_GTA02_REVISION instead.
Index: gta02-splash.patch
===================================================================
--- gta02-splash.patch (revision 3978)
+++ gta02-splash.patch (working copy)
@@ -47,7 +47,7 @@
[JBT_STATE_NORMAL] = "normal",
};
-+#ifdef CONFIG_GTA01_REVISION
++#ifndef CONFIG_GTA02_REVISION
+
#define GTA01_SCLK (1 << 7) /* GPG7 */
#define GTA01_MOSI (1 << 6) /* GPG6 */
@@ -86,7 +86,7 @@
{
S3C24X0_GPIO * const gpio = S3C24X0_GetBase_GPIO();
-+#ifdef CONFIG_GTA01_REVISION
++#ifndef CONFIG_GTA02_REVISION
/* initialize SPI for GPIO bitbang */
gpio->GPGCON &= 0xffff033f;
gpio->GPGCON |= 0x00005440;
More information about the openmoko-kernel
mailing list