diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-24 18:13:47 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-24 18:13:47 +0000 |
commit | e688f6b8c4c5f9c80a2e22f55aff1ee83144e10b (patch) | |
tree | 62f2bc2777916fdbc54346f4824cc139aea89960 /target/linux/atheros/patches-3.10/120-spiflash.patch | |
parent | f5183b03f7ef6da62e3a6eab93244665a93b8ffe (diff) | |
download | master-187ad058-e688f6b8c4c5f9c80a2e22f55aff1ee83144e10b.tar.gz master-187ad058-e688f6b8c4c5f9c80a2e22f55aff1ee83144e10b.tar.bz2 master-187ad058-e688f6b8c4c5f9c80a2e22f55aff1ee83144e10b.zip |
atheros[ar2315-spiflash]: remove duplicated definitions
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41325 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-3.10/120-spiflash.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/120-spiflash.patch | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/target/linux/atheros/patches-3.10/120-spiflash.patch b/target/linux/atheros/patches-3.10/120-spiflash.patch index 409721f2c8..57ab46dc21 100644 --- a/target/linux/atheros/patches-3.10/120-spiflash.patch +++ b/target/linux/atheros/patches-3.10/120-spiflash.patch @@ -562,7 +562,7 @@ + --- /dev/null +++ b/drivers/mtd/devices/ar2315_spiflash.h -@@ -0,0 +1,116 @@ +@@ -0,0 +1,106 @@ +/* + * Atheros AR2315 SPI Flash Memory support header file. + * @@ -651,20 +651,10 @@ +/* + * SPI Flash Interface Registers + */ -+#define AR531XPLUS_SPI_READ 0x08000000 -+#define AR531XPLUS_SPI_MMR 0x11300000 -+#define AR531XPLUS_SPI_MMR_SIZE 12 -+ -+#define AR531XPLUS_SPI_CTL 0x00 -+#define AR531XPLUS_SPI_OPCODE 0x04 -+#define AR531XPLUS_SPI_DATA 0x08 -+ -+#define SPI_FLASH_READ AR531XPLUS_SPI_READ -+#define SPI_FLASH_MMR AR531XPLUS_SPI_MMR -+#define SPI_FLASH_MMR_SIZE AR531XPLUS_SPI_MMR_SIZE -+#define SPI_FLASH_CTL AR531XPLUS_SPI_CTL -+#define SPI_FLASH_OPCODE AR531XPLUS_SPI_OPCODE -+#define SPI_FLASH_DATA AR531XPLUS_SPI_DATA ++ ++#define SPI_FLASH_CTL 0x00 ++#define SPI_FLASH_OPCODE 0x04 ++#define SPI_FLASH_DATA 0x08 + +#define SPI_CTL_START 0x00000100 +#define SPI_CTL_BUSY 0x00010000 |