summaryrefslogtreecommitdiff
path: root/target/linux/adm5120-2.6/files/arch/mips
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-24 21:31:13 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-24 21:31:13 +0000
commit58531e4910ac0d44f6e72bbd13217fdba3dbcc51 (patch)
treee57f5c44202fb5681902aec626021654cd554cef /target/linux/adm5120-2.6/files/arch/mips
parent51eaa39dca81819630481c2cfc955bac69ff944d (diff)
Do not register more than 2 ethernet porst for CFE based devices (i.e : Compex WP54G-wrt)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6683 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/arch/mips')
-rw-r--r--target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
index 9067fcd976..4c20765596 100644
--- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
+++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
@@ -30,9 +30,10 @@
#include <asm/addrspace.h>
/* boot loaders specific definitions */
-#define CFE_EPTSEAL 0x43464531
+#define CFE_EPTSEAL 0x43464531 /* CFE1 is the magic number to recognize CFE from other bootloaders */
#define CFE 1
-#define MYLOADER 2
+#define UBOOT 2
+#define MYLOADER 3
#define UNKNOWN 0
void setup_prom_printf(int);