diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-25 15:47:54 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-25 15:47:54 +0000 |
commit | 85e3e7265be8389f65c52f4585ad9b4667c96dc2 (patch) | |
tree | b10bfe0154668dbf0a322f7a379bab1f549da6db /meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-norelocate_irqvec_cpy.patch | |
parent | c6422207156a33edaf2d8dd72a37ef2d7ce7e966 (diff) | |
download | openembedded-core-85e3e7265be8389f65c52f4585ad9b4667c96dc2.tar.gz openembedded-core-85e3e7265be8389f65c52f4585ad9b4667c96dc2.tar.bz2 openembedded-core-85e3e7265be8389f65c52f4585ad9b4667c96dc2.tar.xz openembedded-core-85e3e7265be8389f65c52f4585ad9b4667c96dc2.zip |
u-boot-mkimage-native: use 1.3.2 version instead of Openmoko patched version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4114 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-norelocate_irqvec_cpy.patch')
-rw-r--r-- | meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-norelocate_irqvec_cpy.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-norelocate_irqvec_cpy.patch b/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-norelocate_irqvec_cpy.patch deleted file mode 100644 index 0d5a49771..000000000 --- a/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-norelocate_irqvec_cpy.patch +++ /dev/null @@ -1,32 +0,0 @@ -If we've somehow magically make u-boot end up in RAM (JTAG, ...), then that RAM -is mapped to 0x30000000 and not 0, so we need to copy the interrupt vectors, etc. - -Index: u-boot/cpu/arm920t/start.S -=================================================================== ---- u-boot.orig/cpu/arm920t/start.S -+++ u-boot/cpu/arm920t/start.S -@@ -332,7 +332,23 @@ done_nand_read: - strb r1, [r0] - #endif /* CONFIG_S3C2410_NAND_BOOT */ - done_relocate: --#endif /* CONFIG_SKIP_RELOCATE_UBOOT */ -+ -+#if defined(CONFIG_USE_IRQ) && defined(CONFIG_S3C2410) -+ /* In the case of the S3C2410, if we've somehow magically (JTAG, ...) -+ ended up in RAM, then that ram is mapped to 0x30000000 and not 0. -+ So we need to copy the interrupt vectors, etc. */ -+ -+ mov r0, #0 -+ ldr r1, _TEXT_BASE -+ mov r2, #0x40 -+irqvec_cpy_next: -+ ldr r3, [r1], #4 -+ str r3, [r0], #4 -+ subs r2, r2, #4 -+ bne irqvec_cpy_next -+#endif /* CONFIG_USE_IRQ */ -+ -+#endif /* !CONFIG_SKIP_RELOCATE_UBOOT */ - - /* Set up the stack */ - stack_setup: |