Rewrite of the bootloader runtime detection (Gabor Juhos)

SVN-Revision: 6713
This commit is contained in:
Florian Fainelli
2007-03-26 07:37:31 +00:00
parent 7fb29fc2b9
commit e5f6938314
4 changed files with 10 additions and 46 deletions

View File

@@ -97,18 +97,10 @@ struct adm5120_sw {
#define SIOCGMATRIX SIOCDEVPRIVATE+1
#define SIOCGADMINFO SIOCDEVPRIVATE+2
struct adm5120_info {
struct adm5120_sw_info {
u16 magic;
u16 ports;
u16 vlan;
};
#define UNKNOWN 0
#define CFE 1
#define UBOOT 2
#define MYLOADER 3
/* Type of boot loader, detected by the prom */
extern boot_loader_type;
#endif /* _INCLUDE_ADM5120SW_H_ */