summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-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"