From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 01 Nov 2012 15:57:58 -0600 Subject: [U-Boot] [PATCH v4 6/6] tegra: Enable NAND on Seaboard In-Reply-To: <1343631210-22278-7-git-send-email-sjg@chromium.org> References: <1343631210-22278-1-git-send-email-sjg@chromium.org> <1343631210-22278-7-git-send-email-sjg@chromium.org> Message-ID: <5092F066.2090307@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/30/2012 12:53 AM, Simon Glass wrote: > This enables NAND support for the Seaboard. > diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h > #include "tegra20-common-post.h" > > +/* NAND support */ > +#define CONFIG_CMD_NAND > +#define CONFIG_TEGRA_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 TEGRA20_NAND_BASE Simon, I just noticed that all these config options are added after the include of tegra20-common-post.h. That file should be included at the very end in case it needs to do something different based on the board-specific configuration. I don't suppose you could move those lines before the include?