diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 03:00:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 03:00:43 +0000 |
commit | 6ba3363290b49021ec3b8bf8fa0466343f9170df (patch) | |
tree | 0ac1b6eb764428d0bafa2d311109c8bcc93593b0 /target/linux/atheros/patches-3.18/100-board.patch | |
parent | 862a89b8f7f01c1161855afe207b379ab226467a (diff) | |
download | upstream-6ba3363290b49021ec3b8bf8fa0466343f9170df.tar.gz upstream-6ba3363290b49021ec3b8bf8fa0466343f9170df.tar.bz2 upstream-6ba3363290b49021ec3b8bf8fa0466343f9170df.zip |
atheros: v3.18: remap PCI controller MMR memory
Honestly remap PCI controller MMR and use accessor functions to interact
with registers.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44720
Diffstat (limited to 'target/linux/atheros/patches-3.18/100-board.patch')
-rw-r--r-- | target/linux/atheros/patches-3.18/100-board.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.18/100-board.patch b/target/linux/atheros/patches-3.18/100-board.patch index e90cd633b6..b6b37d1bbd 100644 --- a/target/linux/atheros/patches-3.18/100-board.patch +++ b/target/linux/atheros/patches-3.18/100-board.patch @@ -629,7 +629,7 @@ +#endif /* __ASM_MACH_ATH25_WAR_H */ --- /dev/null +++ b/arch/mips/include/asm/mach-ath25/ar2315_regs.h -@@ -0,0 +1,510 @@ +@@ -0,0 +1,511 @@ +/* + * Register definitions for AR2315+ + * @@ -675,6 +675,7 @@ +#define AR2315_SPI_READ 0x08000000 /* SPI FLASH */ +#define AR2315_WLAN0 0x10000000 /* Wireless MMR */ +#define AR2315_PCI 0x10100000 /* PCI MMR */ ++#define AR2315_PCI_SIZE 0x00001000 +#define AR2315_SDRAMCTL 0x10300000 /* SDRAM MMR */ +#define AR2315_LOCAL 0x10400000 /* LOCAL BUS MMR */ +#define AR2315_ENET0 0x10500000 /* ETHERNET MMR */ |