From 38d9c42391c335db7e9d6b6f263c75e7ea45ca76 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 27 Jul 2007 03:07:52 +0000 Subject: update ar7 to 2.6.22.1 (thanks to Matteo Croce for his great help) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8189 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7-2.6/files/include/asm-mips/ar7/ar7.h | 7 ++++--- target/linux/ar7-2.6/files/include/asm-mips/ar7/prom.h | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/ar7-2.6/files/include/asm-mips') 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 3e6a50c32..e8e32a0b8 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 f500093e2..10d623510 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,8 +21,7 @@ #ifndef __PROM_H__ #define __PROM_H__ -extern void prom_init(void); -extern char *prom_getenv(char *name); +extern char *prom_getenv(char *name); extern void prom_printf(char *fmt, ...); #endif // __PROM_H__ -- cgit v1.2.3