configs: omap: Remove dead config CONFIG_SYS_NAND_ADDR
PATCH 1/1 configs: omap: Remove dead config CONFIG_SYS_NAND_ADDR
CONFIG_SYS_NAND_ADDR is defined and never referenced. This patch removes the dead code.
Signed-off-by Adam Ford <[email protected]>
--- include/configs/am3517_crane.h | 2 -- include/configs/am3517_evm.h | 2 -- include/configs/cm_t35.h | 2 -- include/configs/cm_t3517.h | 2 -- include/configs/devkit8000.h | 3 --- include/configs/mcx.h | 2 -- include/configs/omap3_logic.h | 2 -- include/configs/omap3_overo.h | 2 -- include/configs/omap3_pandora.h | 2 -- include/configs/omap3_zoom1.h | 2 -- include/configs/tao3530.h | 2 -- include/configs/tricorder.h | 3 --- scripts/config_whitelist.txt | 1 - 13 files changed, 27 deletions(-)
include/configs/am3517_crane.h +0 -2
@@ -99,8 +99,6 @@/* * Board NAND Info. */ -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_SYS_NAND_BASE NAND_BASE/* physical address */ /* to access */ /* nand at CS0 */
include/configs/am3517_evm.h +0 -2
@@ -66,8 +66,6 @@/* Board NAND Info. */ #ifdef CONFIG_NAND -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_SYS_NAND_5_ADDR_CYCLE #define CONFIG_SYS_NAND_PAGE_COUNT 64#define CONFIG_SYS_NAND_PAGE_SIZE 2048
include/configs/cm_t35.h +0 -2
@@ -89,8 +89,6 @@/* * Board NAND Info. */ -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_SYS_NAND_BASE NAND_BASE/* physical address */ /* to access nand at */ /* CS0 */
include/configs/cm_t3517.h +0 -2
@@ -91,8 +91,6 @@/* * Board NAND Info. */ -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_SYS_NAND_BASE NAND_BASE/* physical address */ /* to access nand at */ /* CS0 */
include/configs/devkit8000.h +0 -3
@@ -60,9 +60,6 @@#define CONFIG_TWL4030_LED 1/* Board NAND Info */ - -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_JFFS2_NAND /* nand device jffs2 lives on */ #define CONFIG_JFFS2_DEV "nand0"
include/configs/mcx.h +0 -2
@@ -81,8 +81,6 @@/* * Board NAND Info. */ -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_SYS_NAND_BASE NAND_BASE/* physical address */ /* to access */ /* nand at CS0 */
include/configs/omap3_logic.h +0 -2
@@ -43,8 +43,6 @@/* Board NAND Info. */ #ifdef CONFIG_NAND -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_SYS_MAX_NAND_DEVICE 1/* Max number of */ /* NAND devices */ #define CONFIG_SYS_NAND_5_ADDR_CYCLE
include/configs/omap3_overo.h +0 -2
@@ -51,8 +51,6 @@#endif /* CONFIG_NAND */ /* Board NAND Info. */ -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ /* Environment information */ #define CONFIG_EXTRA_ENV_SETTINGS \ DEFAULT_LINUX_BOOT_ENV \
include/configs/omap3_pandora.h +0 -2
@@ -44,8 +44,6 @@/* * Board NAND Info. */ -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_HAM1_CODE_SW#define CONFIG_SYS_NAND_PAGE_SIZE 2048#define CONFIG_SYS_NAND_OOBSIZE 64
include/configs/omap3_zoom1.h +0 -2
@@ -56,8 +56,6 @@/* * Board NAND Info. */ -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_SYS_NAND_BASE NAND_BASE/* physical address */ /* to access nand at */ /* CS0 */
include/configs/tao3530.h +0 -2
@@ -70,8 +70,6 @@/* * Board NAND Info. */ -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_SYS_NAND_BASE NAND_BASE/* physical address */ /* to access nand at */ /* CS0 */
include/configs/tricorder.h +0 -3
@@ -65,9 +65,6 @@#define CONFIG_TWL4030_LED /* Board NAND Info */ - -#define CONFIG_SYS_NAND_ADDR NAND_BASE/* physical address */ -/* to access nand */ #define CONFIG_SYS_NAND_BASE NAND_BASE/* physical address */ /* to access nand at */ /* CS0 */
scripts/config_whitelist.txt +0 -1
@@ -3574,7 +3574,6 @@ CONFIG_SYS_NAND_ACTL_ALE CONFIG_SYS_NAND_ACTL_CLE CONFIG_SYS_NAND_ACTL_DELAY CONFIG_SYS_NAND_ACTL_NCE -CONFIG_SYS_NAND_ADDR CONFIG_SYS_NAND_ALE CONFIG_SYS_NAND_AMASK CONFIG_SYS_NAND_BAD_BLOCK_POS
Signature · 1 line
2.17.1
Quoted 4 lines · Adam Ford
CONFIG_SYS_NAND_ADDRis defined and never referenced. This patch removes the dead code.Signed-off-by Adam Ford <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180810/9307cd71/attachment.sig>