
1 Nov
2012
1 Nov
'12
10:57 p.m.
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?