All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] pcm058: fix NAND flash not using badblock table
@ 2018-12-05 12:29 Harald Seiler
  2018-12-07  8:45 ` Stefano Babic
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Seiler @ 2018-12-05 12:29 UTC (permalink / raw)
  To: u-boot

Without setting this flag, U-Boot will silently use a memory
only badblock table.  This is not only bad because it means badblock
info is ignored, but also leads to other issues if a driver ontop
then tries to read the badblock table as filesystem info (eg. UBI).

Signed-off-by: Harald Seiler <hws@denx.de>
---
 include/configs/pcm058.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/pcm058.h b/include/configs/pcm058.h
index 49048c163f..b9bc08b388 100644
--- a/include/configs/pcm058.h
+++ b/include/configs/pcm058.h
@@ -55,6 +55,7 @@
 #define CONFIG_SYS_NAND_BASE		0x40000000
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_ONFI_DETECTION
+#define CONFIG_SYS_NAND_USE_FLASH_BBT
 #endif
 
 /* DMA stuff, needed for GPMI/MXS NAND support */
-- 
2.17.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-12-08 18:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-05 12:29 [U-Boot] [PATCH] pcm058: fix NAND flash not using badblock table Harald Seiler
2018-12-07  8:45 ` Stefano Babic
2018-12-07  9:19   ` [U-Boot] [PATCH v2] " Harald Seiler
2018-12-07 11:48     ` Marek Vasut
2018-12-07 12:15       ` Harald Seiler
2018-12-07 12:18         ` Marek Vasut
2018-12-07 18:55           ` Stefano Babic
2018-12-07 21:18             ` Harald Seiler
2018-12-08 18:44               ` Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.