summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-07-29 09:51:04 -0500
committerTom Rini <trini@konsulko.com>2018-08-10 13:45:33 -0400
commitab5814f9926d8085d69df033d5db13bf0078c1f1 (patch)
treef6cf1e6e5b0429a44a6cdd83bc604ebe196dff1b
parent76a472dc4408b58c8b4022a6962ef3e34015005f (diff)
downloadu-boot-ab5814f9926d8085d69df033d5db13bf0078c1f1.tar.gz
u-boot-ab5814f9926d8085d69df033d5db13bf0078c1f1.tar.bz2
u-boot-ab5814f9926d8085d69df033d5db13bf0078c1f1.zip
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 <aford173@gmail.com>
-rw-r--r--include/configs/am3517_crane.h2
-rw-r--r--include/configs/am3517_evm.h2
-rw-r--r--include/configs/cm_t35.h2
-rw-r--r--include/configs/cm_t3517.h2
-rw-r--r--include/configs/devkit8000.h3
-rw-r--r--include/configs/mcx.h2
-rw-r--r--include/configs/omap3_logic.h2
-rw-r--r--include/configs/omap3_overo.h2
-rw-r--r--include/configs/omap3_pandora.h2
-rw-r--r--include/configs/omap3_zoom1.h2
-rw-r--r--include/configs/tao3530.h2
-rw-r--r--include/configs/tricorder.h3
-rw-r--r--scripts/config_whitelist.txt1
13 files changed, 0 insertions, 27 deletions
diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
index ffe40a4160..b9a3a5079d 100644
--- a/include/configs/am3517_crane.h
+++ b/include/configs/am3517_crane.h
@@ -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 */
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
index 9a20796214..c767961562 100644
--- a/include/configs/am3517_evm.h
+++ b/include/configs/am3517_evm.h
@@ -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
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 415924549b..adadfb29bf 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -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 */
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h
index 2c889d4a85..0ea70cc1bf 100644
--- a/include/configs/cm_t3517.h
+++ b/include/configs/cm_t3517.h
@@ -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 */
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index f36dc2dc2c..1b4e33255d 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -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"
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
index 0cad187a3c..66dec07b2a 100644
--- a/include/configs/mcx.h
+++ b/include/configs/mcx.h
@@ -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 */
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index 3b65a8505f..d39546f15c 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -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
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index a3d0e5fcaa..bcad26b2f1 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -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 \
diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index 9259282729..8edd16d395 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -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
diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h
index c62b373de3..ca03fc167d 100644
--- a/include/configs/omap3_zoom1.h
+++ b/include/configs/omap3_zoom1.h
@@ -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 */
diff --git a/include/configs/tao3530.h b/include/configs/tao3530.h
index 4b596c680a..02bf54ea6f 100644
--- a/include/configs/tao3530.h
+++ b/include/configs/tao3530.h
@@ -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 */
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index 95c3ea9ce4..6b4edcc8c4 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -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 */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 0ec125160d..bd264d2ba2 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -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