Author: blogic Date: 2014-06-24 20:13:17 +0200 (Tue, 24 Jun 2014) New Revision: 41318
Modified: trunk/target/linux/atheros/patches-3.10/120-spiflash.patch Log: atheros[ar2315-spiflash]: print detected flash size Signed-off-by: Sergey Ryazanov <[email protected]> Modified: trunk/target/linux/atheros/patches-3.10/120-spiflash.patch =================================================================== --- trunk/target/linux/atheros/patches-3.10/120-spiflash.patch 2014-06-24 18:13:13 UTC (rev 41317) +++ trunk/target/linux/atheros/patches-3.10/120-spiflash.patch 2014-06-24 18:13:17 UTC (rev 41318) @@ -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 */ + _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
