diff options
author | John Crispin <john@openwrt.org> | 2014-06-24 18:13:17 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-24 18:13:17 +0000 |
commit | 79b4598a7f7f5cd1ec4fd9544777d34dc4642a48 (patch) | |
tree | d447830bfcec586ba449908030d18ebd8914bc67 /target/linux | |
parent | 8e3b055b2a506589fff3dbf3a2c854418bfded00 (diff) | |
download | mtk-20170518-79b4598a7f7f5cd1ec4fd9544777d34dc4642a48.zip mtk-20170518-79b4598a7f7f5cd1ec4fd9544777d34dc4642a48.tar.gz mtk-20170518-79b4598a7f7f5cd1ec4fd9544777d34dc4642a48.tar.bz2 |
atheros[ar2315-spiflash]: print detected flash size
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41318
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/atheros/patches-3.10/120-spiflash.patch | 4 |
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 635da88..262af60 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 */ + |