From faf32a0d3c7817733f6c4ac83ec490633d94c163 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 5 Nov 2012 13:21:00 +0000 Subject: [PATCH] tegra: Remove unnecessary CONFIG_SYS_NAND_BASE Now that we are using the new CONFIG_SYS_NAND_SELF_INIT setup, we don't need CONFIG_SYS_NAND_BASE. Punt it. Signed-off-by: Simon Glass Signed-off-by: Tom Warren --- include/configs/harmony.h | 1 - include/configs/seaboard.h | 3 --- include/configs/tec.h | 1 - 3 files changed, 5 deletions(-) diff --git a/include/configs/harmony.h b/include/configs/harmony.h index 040bfe4..89f64c6 100644 --- a/include/configs/harmony.h +++ b/include/configs/harmony.h @@ -65,7 +65,6 @@ #define CONFIG_CMD_NAND #define CONFIG_TEGRA_NAND #define CONFIG_SYS_MAX_NAND_DEVICE 1 -#define CONFIG_SYS_NAND_BASE NV_PA_NAND_BASE /* Environment in NAND (which is 512M), aligned to start of last sector */ #define CONFIG_ENV_IS_IN_NAND diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 11fbed1..92c167d 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -121,7 +121,4 @@ /* Max number of NAND devices */ #define CONFIG_SYS_MAX_NAND_DEVICE 1 - -/* Somewhat oddly, the NAND base address must be a config option */ -#define CONFIG_SYS_NAND_BASE NV_PA_NAND_BASE #endif /* __CONFIG_H */ diff --git a/include/configs/tec.h b/include/configs/tec.h index 140d2e6..200cf66 100644 --- a/include/configs/tec.h +++ b/include/configs/tec.h @@ -54,7 +54,6 @@ #define CONFIG_CMD_NAND #define CONFIG_TEGRA_NAND #define CONFIG_SYS_MAX_NAND_DEVICE 1 -#define CONFIG_SYS_NAND_BASE NV_PA_NAND_BASE /* Environment in NAND, aligned to start of last sector */ #define CONFIG_ENV_IS_IN_NAND -- 2.7.4