summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-03 22:40:15 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-03 22:40:15 +0000
commit743de3f04fd6288e8db76524a703639a0bd01b79 (patch)
tree1bc873ea1ac5a08b536285ec39adc267b6f6ccb9 /target
parent46161bff7d1f1cad49fd642a0001bd28d54df31a (diff)
downloadmtk-20170518-743de3f04fd6288e8db76524a703639a0bd01b79.zip
mtk-20170518-743de3f04fd6288e8db76524a703639a0bd01b79.tar.gz
mtk-20170518-743de3f04fd6288e8db76524a703639a0bd01b79.tar.bz2
Add the infrastructure to support different flash sizes/address
SVN-Revision: 6855
Diffstat (limited to 'target')
-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 60d5731..3e0acba 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