summaryrefslogtreecommitdiff
path: root/packages/linux/linux-orion/mv2120.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-orion/mv2120.patch')
-rw-r--r--packages/linux/linux-orion/mv2120.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/linux/linux-orion/mv2120.patch b/packages/linux/linux-orion/mv2120.patch
new file mode 100644
index 0000000000..2a07f752af
--- /dev/null
+++ b/packages/linux/linux-orion/mv2120.patch
@@ -0,0 +1,24 @@
+diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
+index da226ab..cd49d65 100644
+--- a/arch/arm/boot/Makefile
++++ b/arch/arm/boot/Makefile
+@@ -55,6 +55,10 @@ $(obj)/compressed/vmlinux: $(obj)/Image FORCE
+
+ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
+ $(call if_changed,objcopy)
++ devio > foo 'wl 0xe3a01c06,4' 'wl 0xe381109d,4'
++ cat foo $(obj)/zImage > zImage.new
++ mv zImage.new $(obj)/zImage
++ rm foo
+ @echo ' Kernel: $@ is ready'
+
+ endif
+@@ -67,7 +71,7 @@ quiet_cmd_uimage = UIMAGE $@
+ ifeq ($(CONFIG_ZBOOT_ROM),y)
+ $(obj)/uImage: LOADADDR=$(CONFIG_ZBOOT_ROM_TEXT)
+ else
+-$(obj)/uImage: LOADADDR=$(ZRELADDR)
++$(obj)/uImage: LOADADDR=0x02000000
+ endif
+
+ $(obj)/uImage: $(obj)/zImage FORCE