summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-03-01 20:19:55 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-03-01 20:19:55 +0000
commit4c548fbacad57bdbf903c0060d1b28e329cf0690 (patch)
tree7c635acbbd1d8e206d19d73aa6190a7b4a7139e0 /target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch
parent1b922ab410fd1e1a0c2320ba097a79d09dfe9788 (diff)
downloadmtk-20170518-4c548fbacad57bdbf903c0060d1b28e329cf0690.zip
mtk-20170518-4c548fbacad57bdbf903c0060d1b28e329cf0690.tar.gz
mtk-20170518-4c548fbacad57bdbf903c0060d1b28e329cf0690.tar.bz2
refresh patches and configuration
SVN-Revision: 14722
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch b/target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch
index eb5ec49..63a71f0 100644
--- a/target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch
+++ b/target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch
@@ -1,4 +1,3 @@
-diff --git a/arch/mips/bcm47xx/prom.c b/arch/mips/bcm47xx/prom.c
--- a/arch/mips/bcm47xx/prom.c
+++ b/arch/mips/bcm47xx/prom.c
@@ -32,6 +32,7 @@
@@ -32,7 +31,7 @@ diff --git a/arch/mips/bcm47xx/prom.c b/arch/mips/bcm47xx/prom.c
- int argc = fw_arg0;
- char **envp = (char **) fw_arg2;
- int *prom_vec = (int *) fw_arg3;
-
+-
- /*
- * Check if a loader was used; if NOT, the 4 arguments are
- * what CFE gives us (handle, 0, EPT and EPTSEAL)
@@ -62,15 +61,16 @@ diff --git a/arch/mips/bcm47xx/prom.c b/arch/mips/bcm47xx/prom.c
- cfe_eptseal = prom_vec[3];
- }
- }
-+ cfe_eptseal = (uint32_t) fw_arg3;
-+ cfe_handle = (uint32_t) fw_arg0;
-+ cfe_ept = (uint32_t) fw_arg2;
- if (cfe_eptseal != CFE_EPTSEAL) {
- /* too early for panic to do any good */
- printk(KERN_ERR "CFE's entrypoint seal doesn't match.");
- while (1) ;
- }
++ cfe_eptseal = (uint32_t) fw_arg3;
++ cfe_handle = (uint32_t) fw_arg0;
++ cfe_ept = (uint32_t) fw_arg2;
++
+ if (cfe_eptseal != CFE_EPTSEAL)
+ return -1;