From: Simon Glass Date: Fri, 13 Jan 2012 15:10:56 -0800 Subject: [U-Boot] [PATCH 6/6] tegra: Enable NAND on Seaboard In-Reply-To: <1326496256-5559-1-git-send-email-sjg@chromium.org> References: <1326496256-5559-1-git-send-email-sjg@chromium.org> Message-ID: <1326496256-5559-7-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This enables NAND support for the Seaboard. Signed-off-by: Simon Glass --- include/configs/seaboard.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 7b6f92a..b31ac0c 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -105,4 +105,13 @@ #define CONFIG_USB_STORAGE #define CONFIG_CMD_USB +/* NAND support */ +#define CONFIG_CMD_NAND +#define CONFIG_TEGRA2_NAND + +/* 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 TEGRA2_NAND_BASE #endif /* __CONFIG_H */ -- 1.7.7.3