diff mbox series

[U-Boot] omap2: nand: Make NAND_OMAP_GPMC_PREFETCH default

Message ID 1508532951-11930-1-git-send-email-trini@konsulko.com
State Accepted
Commit 39e709611df05505ada013a37c5254b4c671b847
Delegated to: Tom Rini
Headers show
Series [U-Boot] omap2: nand: Make NAND_OMAP_GPMC_PREFETCH default | expand

Commit Message

Tom Rini Oct. 20, 2017, 8:55 p.m. UTC
This option provides better performance and should really always be
enabled.  Make this be default y.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 drivers/mtd/nand/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Jeroen Hofstee Oct. 21, 2017, 8:29 p.m. UTC | #1
Hello Tom,


On 10/20/2017 10:55 PM, Tom Rini wrote:
> This option provides better performance and should really always be
> enabled.  Make this be default y.

Right, for the 8 bit / 16 bit this should work. At least two years ago,
so assuming you guys didn't brick it in the mean time:

Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl>

As a side note, tweaking the gpmc timing can potentially make reading
from NAND a bit faster as well.

Regards,
Jeroen
Tom Rini Nov. 17, 2017, 3:44 p.m. UTC | #2
On Fri, Oct 20, 2017 at 04:55:51PM -0400, Tom Rini wrote:

> This option provides better performance and should really always be
> enabled.  Make this be default y.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>
> Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 794410a152fe..ca9819344ecc 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -55,6 +55,7 @@  config NAND_OMAP_GPMC
 config NAND_OMAP_GPMC_PREFETCH
 	bool "Enable GPMC Prefetch"
 	depends on NAND_OMAP_GPMC
+	default y
 	help
 	  On OMAP platforms that use the GPMC controller
 	  (CONFIG_NAND_OMAP_GPMC_PREFETCH), this options enables the code that