[U-Boot] [PATCH] pcm058: fix NAND flash not using badblock table

Stefano Babic sbabic at denx.de
Fri Dec 7 08:45:38 UTC 2018


On 05/12/18 13:29, Harald Seiler wrote:
> 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).
> 

Comment is not consistent and does not really explain what happens - can
you formulate it again ? Thanks !

Best regards,
Stefano Babic

> Signed-off-by: Harald Seiler <hws at 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 */
> 


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list