mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user