Add the infrastructure to support different flash sizes/address

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6855 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2007-04-03 22:40:15 +00:00
parent 79f2817fa8
commit b1161f8567
1 changed files with 4 additions and 2 deletions

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