diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-03-24 21:31:13 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-03-24 21:31:13 +0000 |
commit | 1f3c505ef6e7acc33bf0717463d72e8ff09b6759 (patch) | |
tree | 5fc7163ae7ba5e8819af0a73a6aa49a10412811e /target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c | |
parent | fe42382d1ca111de88a3be087f7ee217480482a5 (diff) | |
download | upstream-1f3c505ef6e7acc33bf0717463d72e8ff09b6759.tar.gz upstream-1f3c505ef6e7acc33bf0717463d72e8ff09b6759.tar.bz2 upstream-1f3c505ef6e7acc33bf0717463d72e8ff09b6759.zip |
Do not register more than 2 ethernet porst for CFE based devices (i.e : Compex WP54G-wrt)
SVN-Revision: 6683
Diffstat (limited to 'target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c')
-rw-r--r-- | target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c | 5 |
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); |