aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:25 +0000
commit57122e7cccad838c604828afd7ff329349f4691a (patch)
tree896372ac24151eb8176c29eb88c733b397a266d0 /target/linux/ramips/files/arch
parent3f986df05f5c07dd705ed085b13d7e19c0a72aa2 (diff)
downloadupstream-57122e7cccad838c604828afd7ff329349f4691a.tar.gz
upstream-57122e7cccad838c604828afd7ff329349f4691a.tar.bz2
upstream-57122e7cccad838c604828afd7ff329349f4691a.zip
ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com> SVN-Revision: 27809
Diffstat (limited to 'target/linux/ramips/files/arch')
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_regs.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_regs.h
index 5970f7851c..64918fe4de 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_regs.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x_regs.h
@@ -42,6 +42,7 @@
#define RT305X_UART0_SIZE 0x100
#define RT305X_PIO_SIZE 0x100
#define RT305X_UART1_SIZE 0x100
+#define RT305X_SPI_SIZE 0x100
#define RT305X_FLASH1_SIZE (16 * 1024 * 1024)
#define RT305X_FLASH0_SIZE (8 * 1024 * 1024)