diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-07-27 03:07:52 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-07-27 03:07:52 +0000 |
commit | 39127ef8bfc4b94d499432a517ce7f8cdd63d3d5 (patch) | |
tree | e7eefc3ec1a5125600436d79a05085230df505b1 /target/linux/ar7-2.6/files/include/asm-mips | |
parent | c7437ec67c0de324750ffc502abc8a716dff4d9c (diff) | |
download | upstream-39127ef8bfc4b94d499432a517ce7f8cdd63d3d5.tar.gz upstream-39127ef8bfc4b94d499432a517ce7f8cdd63d3d5.tar.bz2 upstream-39127ef8bfc4b94d499432a517ce7f8cdd63d3d5.zip |
update ar7 to 2.6.22.1 (thanks to Matteo Croce for his great help)
SVN-Revision: 8189
Diffstat (limited to 'target/linux/ar7-2.6/files/include/asm-mips')
-rw-r--r-- | target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h | 7 | ||||
-rw-r--r-- | target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h b/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h index 3e6a50c324..e8e32a0b83 100644 --- a/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h +++ b/target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h @@ -53,7 +53,10 @@ #define AR7_RESET_SOFTWARE 0x4 #define AR7_RESET_STATUS 0x8 -#define AR7_RESET_BIT_MDIO 22 +#define AR7_RESET_BIT_CPMAC_LO 17 +#define AR7_RESET_BIT_CPMAC_HI 21 +#define AR7_RESET_BIT_MDIO 22 +#define AR7_RESET_BIT_EPHY 26 /* GPIO control registers */ #define AR7_GPIO_INPUT 0x0 @@ -83,8 +86,6 @@ struct plat_dsl_data { int reset_bit_sar; }; -extern char *prom_getenv(char *envname); - extern int ar7_cpu_clock, ar7_bus_clock, ar7_dsp_clock; static inline u16 ar7_chip_id(void) diff --git a/target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h b/target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h index bb0b0c4d5b..10d6235102 100644 --- a/target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h +++ b/target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h @@ -21,7 +21,6 @@ #ifndef __PROM_H__ #define __PROM_H__ -extern void prom_init(void); extern char *prom_getenv(char *name); extern void prom_printf(char *fmt, ...); |