projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the infrastructure to support different flash sizes/address
[openwrt-10.03/.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
include
/
asm-mips
/
mach-adm5120
/
adm5120_info.h
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 60d57311ec4892f2f7e1e751c575b728fc4dd7ca..3e0acba329b6f0e8b3028bed5e76954255c5d1b3 100644
(file)
--- 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 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
};
#define CPU_SPEED_175 175000000