u-boot 1.1.6: add patch so PXA255 IDP builds
authorCliff Brake <cbrake@bec-systems.com>
Sat, 6 Jan 2007 20:31:57 +0000 (20:31 +0000)
committerCliff Brake <cbrake@bec-systems.com>
Sat, 6 Jan 2007 20:31:57 +0000 (20:31 +0000)
packages/uboot/u-boot-1.1.6/.mtn2git_empty [new file with mode: 0644]
packages/uboot/u-boot-1.1.6/devkit-idp.patch [new file with mode: 0644]
packages/uboot/u-boot_1.1.6.bb

diff --git a/packages/uboot/u-boot-1.1.6/.mtn2git_empty b/packages/uboot/u-boot-1.1.6/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/uboot/u-boot-1.1.6/devkit-idp.patch b/packages/uboot/u-boot-1.1.6/devkit-idp.patch
new file mode 100644 (file)
index 0000000..1460c3d
--- /dev/null
@@ -0,0 +1,28 @@
+Index: u-boot-1.1.6/board/pxa255_idp/memsetup.S
+===================================================================
+--- u-boot-1.1.6.orig/board/pxa255_idp/memsetup.S
++++ u-boot-1.1.6/board/pxa255_idp/memsetup.S
+@@ -41,8 +41,8 @@ DRAM_SIZE:  .long   CFG_DRAM_SIZE
+ /*
+  *    Memory setup
+  */
+-.globl memsetup
+-memsetup:
++.globl lowlevel_init
++lowlevel_init:
+       mov      r10, lr
+Index: u-boot-1.1.6/include/configs/pxa255_idp.h
+===================================================================
+--- u-boot-1.1.6.orig/include/configs/pxa255_idp.h
++++ u-boot-1.1.6/include/configs/pxa255_idp.h
+@@ -41,7 +41,7 @@
+  * If we are developing, we might want to start armboot from ram
+  * so we MUST NOT initialize critical regs like mem-timing ...
+  */
+-#define CONFIG_INIT_CRITICAL                  /* undef for developing */
++#undef CONFIG_INIT_CRITICAL                   /* undef for developing */
+ /*
+  * define the following to enable debug blinks.  A debug blink function
index b45e866..bfd0fb8 100644 (file)
@@ -4,9 +4,10 @@ SECTION = "bootloader"
 PRIORITY = "optional"
 LICENSE = "GPL"
 
-PR = "r0"
+PR = "r1"
 
-SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-1.1.6.tar.bz2"
+SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-1.1.6.tar.bz2 \
+           file://devkit-idp.patch;patch=1"
 
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"