summaryrefslogtreecommitdiff
path: root/target/linux/adm5120-2.6/files/include/asm-mips
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-03 22:40:15 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-03 22:40:15 +0000
commitd8e7de2bd3c41ce9f7c9bc0ff7767236f1d8a905 (patch)
tree8f7f39c101a97d32ad5b056169d13f56335ae657 /target/linux/adm5120-2.6/files/include/asm-mips
parent89df7db876c01d73f17cda5ecf810a775e15bc03 (diff)
Add the infrastructure to support different flash sizes/address
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6855 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/include/asm-mips')
-rw-r--r--target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h
index 60d57311ec..3e0acba329 100644
--- a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h
+++ b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h
@@ -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