configs: omap: Remove dead config CONFIG_SYS_NAND_ADDR
authorAdam Ford <aford173@gmail.com>
Sun, 29 Jul 2018 14:51:04 +0000 (09:51 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 10 Aug 2018 17:45:33 +0000 (13:45 -0400)
CONFIG_SYS_NAND_ADDR is defined and never referenced. This patch
removes the dead code.

Signed-off-by: Adam Ford <aford173@gmail.com>
13 files changed:
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/cm_t35.h
include/configs/cm_t3517.h
include/configs/devkit8000.h
include/configs/mcx.h
include/configs/omap3_logic.h
include/configs/omap3_overo.h
include/configs/omap3_pandora.h
include/configs/omap3_zoom1.h
include/configs/tao3530.h
include/configs/tricorder.h
scripts/config_whitelist.txt

index ffe40a416065f21194f0b2d2b1503a50dbe902d6..b9a3a5079d1f5ca4aa904840b00ba5cfd9b21df8 100644 (file)
@@ -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 */
index 9a2079621472fab5ff48a35a2e9ebf6bc9bd290b..c767961562c0a16d3d555b5260b7d2cf6c1a6d06 100644 (file)
@@ -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
index 415924549bdb715384a16afa885f9d15f35afc66..adadfb29bfade3c7428c88be354fbf77415c1a2e 100644 (file)
@@ -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 */
index 2c889d4a85831735023abc14ddbb57476d939512..0ea70cc1bf1bcd534dfeab8b1b9b52542cbfab7c 100644 (file)
@@ -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 */
index f36dc2dc2c84210d768d5f83c81788d57fb6b910..1b4e33255d9c9078202778a190ef13215c9c99e4 100644 (file)
@@ -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"
index 0cad187a3cd4ba38fed5391a5340aa000160176e..66dec07b2a948188d2409d18e54e9d9e0fe7b0b6 100644 (file)
@@ -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 */
index 3b65a8505f01a26e526b155ec631c540d5501818..d39546f15ca25367dd04d3a3cfcbd4a18357eea1 100644 (file)
@@ -37,8 +37,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
index a3d0e5fcaa60377a96d01273d15b9b9982fb377a..bcad26b2f12323f43a0d87f304f8de378e1fc711 100644 (file)
@@ -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 \
index 92592827295d5e6ee7fd0e3e3ee553ecd3c3bf48..8edd16d39548a6ee9dbba1b35d6871acaf89db6e 100644 (file)
@@ -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
index c62b373de3068705eec00bb498fe44ef1eb1597b..ca03fc167d6e79bfa5275d4303be1f6c2acec6ec 100644 (file)
@@ -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 */
index 4b596c680aa5e1d029f637de129f4a252602e96f..02bf54ea6fc7ab0068822ddb6ab806dc076e9831 100644 (file)
@@ -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 */
index 95c3ea9ce44de047d6cd1be39811e2730c179f7c..6b4edcc8c4ab4b46c3d689fcd1f8ff63f25d7d23 100644 (file)
@@ -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 */
index 0ec125160dda38bbbaca61126160285e0fba6e16..bd264d2ba2beee2ce2ccd46bded311a3d76505c1 100644 (file)
@@ -3567,7 +3567,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