aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.10
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-24 18:13:17 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-24 18:13:17 +0000
commit859fb40fa11a27e6bb3f262baaad80d63275d22d (patch)
treebc0b7dea3cecc9c77014e8bbc3548d8381df424a /target/linux/atheros/patches-3.10
parentcd83a37b6ecf9cbfc5490df9ec8d2be11cc18c7d (diff)
downloadupstream-859fb40fa11a27e6bb3f262baaad80d63275d22d.tar.gz
upstream-859fb40fa11a27e6bb3f262baaad80d63275d22d.tar.bz2
upstream-859fb40fa11a27e6bb3f262baaad80d63275d22d.zip
atheros[ar2315-spiflash]: print detected flash size
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41318 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-3.10')
-rw-r--r--target/linux/atheros/patches-3.10/120-spiflash.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.10/120-spiflash.patch b/target/linux/atheros/patches-3.10/120-spiflash.patch
index 635da886ad..262af6094c 100644
--- a/target/linux/atheros/patches-3.10/120-spiflash.patch
+++ b/target/linux/atheros/patches-3.10/120-spiflash.patch
@@ -23,7 +23,7 @@
--- /dev/null
+++ b/drivers/mtd/devices/ar2315.c
-@@ -0,0 +1,525 @@
+@@ -0,0 +1,527 @@
+
+/*
+ * MTD driver for the SPI Flash Memory support on Atheros AR2315
@@ -494,6 +494,8 @@
+ mtd->_write = spiflash_write;
+ mtd->owner = THIS_MODULE;
+
++ dev_info(&pdev->dev, "%lld Kbytes flash detected\n", mtd->size >> 10);
++
+#if defined CONFIG_MTD_REDBOOT_PARTS || CONFIG_MTD_MYLOADER_PARTS
+ /* parse redboot partitions */
+