projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3b055
)
atheros[ar2315-spiflash]: print detected flash size
author
John Crispin
<john@openwrt.org>
Tue, 24 Jun 2014 18:13:17 +0000
(18:13 +0000)
committer
John Crispin
<john@openwrt.org>
Tue, 24 Jun 2014 18:13:17 +0000
(18:13 +0000)
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41318
target/linux/atheros/patches-3.10/120-spiflash.patch
patch
|
blob
|
history
diff --git
a/target/linux/atheros/patches-3.10/120-spiflash.patch
b/target/linux/atheros/patches-3.10/120-spiflash.patch
index 635da886ad6dd1f0165e91f82ef146cdc921cb05..262af6094c95f0feff6ffba364f7def53e884e20 100644
(file)
--- 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,52
5
@@
+@@ -0,0 +1,52
7
@@
+
+/*
+ * 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 */
+