Harald Seiler
2018-12-05 12:29:36 UTC
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 <***@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 */
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 <***@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
2.17.2