[U-Boot] [PATCH] ARM: socfpga: remove unneeded NAND config options

Marek Vasut marex at denx.de
Sat Sep 2 09:23:16 UTC 2017


On 09/02/2017 03:53 AM, Masahiro Yamada wrote:
> CONFIG_NAND_DENALI select's CONFIG_SYS_NAND_SELF_INIT, so the
> NAND initialization process is driven by the driver itself.
> CONFIG_SYS_NAND_MAX_CHIPS and CONFIG_SYS_NAND_BASE are unused.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Acked-by: Marek Vasut <marex at denx.de>

Is this for -master or for -next ?

> ---
> 
>  include/configs/socfpga_common.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
> index 175b01ef84a9..4f64c3281e42 100644
> --- a/include/configs/socfpga_common.h
> +++ b/include/configs/socfpga_common.h
> @@ -144,12 +144,10 @@
>   */
>  #ifdef CONFIG_NAND_DENALI
>  #define CONFIG_SYS_MAX_NAND_DEVICE	1
> -#define CONFIG_SYS_NAND_MAX_CHIPS	1
>  #define CONFIG_SYS_NAND_ONFI_DETECTION
>  #define CONFIG_NAND_DENALI_ECC_SIZE	512
>  #define CONFIG_SYS_NAND_REGS_BASE	SOCFPGA_NANDREGS_ADDRESS
>  #define CONFIG_SYS_NAND_DATA_BASE	SOCFPGA_NANDDATA_ADDRESS
> -#define CONFIG_SYS_NAND_BASE		(CONFIG_SYS_NAND_DATA_BASE + 0x10)
>  #endif
>  
>  /*
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list