[U-Boot] [PATCH v4 6/6] tegra: Enable NAND on Seaboard

Stephen Warren swarren at wwwdotorg.org
Thu Nov 1 22:57:58 CET 2012


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?


More information about the U-Boot mailing list