Skip to contentSkip to conversation

ARM: socfpga: remove unused CONFIG_NAND_DENALI_ECC_SIZE

PATCH New Masahiro Yamada 3 participants 4 messages Nov 29, 2017 – Dec 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: socfpga: remove unused CONFIG_NAND_DENALI_ECC_SIZE

This option is no longer used.

---

 include/configs/socfpga_common.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/socfpga_common.h +0 -1
index 8a7debb..dc75dce 100644
@@ -142,7 +142,6 @@
 #ifdef CONFIG_NAND_DENALI
 #define CONFIG_SYS_MAX_NAND_DEVICE	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
 #endif
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 ARM: socfpga: remove unneeded CONFIG_SYS_NAND_USE_FLASH_BBT

Neither denali.c nor denali_spl.c references this option.

---

 include/configs/socfpga_common.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/socfpga_common.h +0 -1
index dc75dce..66e7c4f 100644
@@ -293,7 +293,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
 
 /* SPL NAND boot support */
 #ifdef CONFIG_SPL_NAND_SUPPORT
-#define CONFIG_SYS_NAND_USE_FLASH_BBT
 #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x40000
 #endif
Signature · 1 line
2.7.4
Applied
#3 lore raw

PATCH 1/2 ARM: socfpga: remove unused CONFIG_NAND_DENALI_ECC_SIZE

In reply to Masahiro Yamada
Quoted 3 lines · Masahiro Yamada

This option is no longer used.

Applied both, thanks!

Quoted 18 lines

---

 include/configs/socfpga_common.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/socfpga_common.h +0 -1
index 8a7debb..dc75dce 100644
@@ -142,7 +142,6 @@
 #ifdef CONFIG_NAND_DENALI
 #define CONFIG_SYS_MAX_NAND_DEVICE	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
 #endif
Signature · 2 lines
Best regards,
Marek Vasut