diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-04-02 21:44:09 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-04-02 21:44:09 +0000 |
commit | 556d8b4a89fc5bf7aae41570f2a426c5f9bda1ad (patch) | |
tree | 03ad96c30db1d9f85143e73bf5f66a755b9bcbd2 /target/linux/adm5120-2.6/files/include/asm-mips | |
parent | 0f245643a36d9be72a328ab1239cbe302fb826dc (diff) | |
download | master-31e0f0ae-556d8b4a89fc5bf7aae41570f2a426c5f9bda1ad.tar.gz master-31e0f0ae-556d8b4a89fc5bf7aae41570f2a426c5f9bda1ad.tar.bz2 master-31e0f0ae-556d8b4a89fc5bf7aae41570f2a426c5f9bda1ad.zip |
Add the infrastructure to detect RouterBOOT and use USB
SVN-Revision: 6844
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.h | 13 |
1 files changed, 11 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 6d2c5c248b..60d57311ec 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,6 +23,8 @@ struct adm5120_info { unsigned long cpu_speed; unsigned int boot_loader; unsigned int board_type; + unsigned int iface_num; + unsigned int has_usb; }; #define CPU_SPEED_175 175000000 @@ -37,7 +39,8 @@ struct adm5120_info { #define BOOT_LOADER_CFE 1 #define BOOT_LOADER_UBOOT 2 #define BOOT_LOADER_MYLOADER 3 -#define BOOT_LOADER_LAST 3 +#define BOOT_LOADER_ROUTERBOOT 4 +#define BOOT_LOADER_LAST 4 #define BOARD_TYPE_UNKNOWN 0 #define BOARD_TYPE_WP54G_WRT 1 @@ -49,7 +52,13 @@ struct adm5120_info { #define BOARD_TYPE_NP28GHS 7 #define BOARD_TYPE_NP27G 8 #define BOARD_TYPE_WP54Gv1C 9 -#define BOARD_TYPE_RB_1xx 10 +#define BOARD_TYPE_RB_111 10 +#define BOARD_TYPE_RB_112 11 +#define BOARD_TYPE_RB_133 12 +#define BOARD_TYPE_RB_133C 13 +#define BOARD_TYPE_RB_150 14 +#define BOARD_TYPE_RB_153 15 +#define BOART_TYPE_LAST 15 extern struct adm5120_info adm5120_info; extern void adm5120_info_init(void); |