From 0596c05d60132eb5536e42d19f6e9ec8d95b5b31 Mon Sep 17 00:00:00 2001
From: noz <noz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Tue, 3 Jun 2008 19:29:53 +0000
Subject: [PATCH] [brcm-2.4 and brcm47xx] Include missing part of r11275. Fix
 fw_argX from CFE

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11340 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/brcm-2.4/image/lzma-loader/src/head.S | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/target/linux/brcm-2.4/image/lzma-loader/src/head.S b/target/linux/brcm-2.4/image/lzma-loader/src/head.S
index 9bfbd53d5..3a33e4016 100644
--- a/target/linux/brcm-2.4/image/lzma-loader/src/head.S
+++ b/target/linux/brcm-2.4/image/lzma-loader/src/head.S
@@ -38,6 +38,11 @@
 	.text
 	LEAF(startup)
 	.set noreorder
+	addi    sp, -48 
+	sw      a0, 16(sp) 
+	sw      a1, 20(sp) 
+	sw      a2, 24(sp) 
+	sw      a3, 28(sp)
 	
 	/* Copy decompressor code to the right place */
 	li	t2, BZ_TEXT_START
-- 
2.20.1