summaryrefslogtreecommitdiff
path: root/packages/uboot
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-11-27 11:39:09 +0000
committerGraeme Gregory <dp@xora.org.uk>2007-11-27 11:39:09 +0000
commit5b37ae936804e8b3473d2a07819c3c894f26fd98 (patch)
tree4ef1afc39c1308cf001b41c83db10e490ffcad8a /packages/uboot
parentcd218bdd24c1df03d7dfe3b8b6c939b5fb4af640 (diff)
uboot-openmoko_svn.bb : add glamo ram initialisation patch so stop
glamo deadlocks.
Diffstat (limited to 'packages/uboot')
-rw-r--r--packages/uboot/files/glamo-ram-init.patch21
-rw-r--r--packages/uboot/uboot-openmoko_svn.bb1
2 files changed, 22 insertions, 0 deletions
diff --git a/packages/uboot/files/glamo-ram-init.patch b/packages/uboot/files/glamo-ram-init.patch
new file mode 100644
index 0000000000..4c12074347
--- /dev/null
+++ b/packages/uboot/files/glamo-ram-init.patch
@@ -0,0 +1,21 @@
+diff --git a/board/neo1973/common/lowlevel_init.S b/board/neo1973/common/lowlevel_init.S
+index 582aa0e..92a9c7b 100644
+--- a/board/neo1973/common/lowlevel_init.S
++++ b/board/neo1973/common/lowlevel_init.S
+@@ -67,11 +67,11 @@
+ #define B0_PMC 0x0 /* normal */
+
+ /* BANK1CON */
+-#define B1_Tacs 0x0 /* 0clk */
+-#define B1_Tcos 0x1 /* 1clk */
+-#define B1_Tacc 0x4 /* 4clk */
+-#define B1_Tcoh 0x1 /* 1clk */
+-#define B1_Tah 0x0 /* 0clk */
++#define B1_Tacs 0x3 /* 4clk */
++#define B1_Tcos 0x3 /* 4clk */
++#define B1_Tacc 0x7 /* 14clk */
++#define B1_Tcoh 0x3 /* 4clk */
++#define B1_Tah 0x3 /* 4clk */
+ #define B1_Tacp 0x0
+ #define B1_PMC 0x0
+
diff --git a/packages/uboot/uboot-openmoko_svn.bb b/packages/uboot/uboot-openmoko_svn.bb
index a13b3df461..509f9e2df0 100644
--- a/packages/uboot/uboot-openmoko_svn.bb
+++ b/packages/uboot/uboot-openmoko_svn.bb
@@ -19,6 +19,7 @@ SRC_URI = "\
file://uboot-eabi-fix-HACK.patch \
file://uboot-20070311-tools_makefile_ln_sf.patch;patch=1 \
file://makefile-no-dirafter.patch;patch=1 \
+ file://glamo-ram-init.patch;patch=1 \
"
S = "${WORKDIR}/git"