Add the infrastructure to support different flash sizes/address

SVN-Revision: 6855
This commit is contained in:
Florian Fainelli 2007-04-03 22:40:15 +00:00
parent 46161bff7d
commit 743de3f04f

View File

@ -23,8 +23,10 @@ struct adm5120_info {
unsigned long cpu_speed;
unsigned int boot_loader;
unsigned int board_type;
unsigned int iface_num;
unsigned int has_usb;
unsigned int iface_num; /* Number of Ethernet interfaces */
unsigned int has_usb; /* USB controller presence flag */
u32 window_addr; /* Flash address */
u32 window_size; /* Flash size */
};
#define CPU_SPEED_175 175000000