-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/30/12 15:47, Ilya Yanok wrote:
Enable NAND support for AM335X boards.
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com ---
include/configs/am335x_evm.h | 15 +++ 1 file changed,
15 insertions(+)
diff --git a/include/configs/am335x_evm.h
b/include/configs/am335x_evm.h index 339d4bd..a89cdcd 100644 ---
a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h
@@ -254,4 +254,19 @@ #define CONFIG_PHYLIB #define CONFIG_PHY_SMSC
+#define CONFIG_NAND +/* NAND support */ +#ifdef CONFIG_NAND
+#define CONFIG_CMD_NAND +#define CONFIG_NAND_OMAP_GPMC +#define
GPMC_NAND_ECC_LP_x16_LAYOUT 1 +#define NAND_BASE
(0x0800)
+#define CONFIG_SYS_NAND_ADDR NAND_BASE /* physical address */ +
/* to access nand */
This is unused
+#define CONFIG_SYS_NAND_BASE NAND_BASE /* physical address */
So just define this to 0x0800
- --
Tom
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQkGhlAAoJENk4IS6UOR1WbTgP/ir7Qqw6MSIX6nhe+tHH2Jn+
g7J5zMSFYrSrv5dCfVGKukYRoYf7ed9sMrGQJruviSpcm0NEt7HOak9MOd4n7zyk
mUSRwe8F9scoJ4X36+Ld53UoeVerk4ZS6qPKdBFMelaiDCNLhvhTfueEIdIrQkJO
AJ7+A9baa41zUID0cCoT2KDvFZGpdnVym+D22VjYhELakbdLPvopPyuEAAAS4YuK
PANH1ZsZH+gQiyghEL2FWZv9WrlZdcioe94J6vlV6rZBZGm/88hsKLFGQs+lI1NI
eAhN61y/4H8Y5+0uODws5JVFDh2Svdi1vjac21y2udnW4S65db9O7+v4xeMI/AKZ
MGEop7s38lYNGaRtNW7805iirMPl8NcIKPZFX5GMwe9QaYYliKGGrZNKD1hbErtj
6PdkAKJRisTW474RWGsg6jS3OZnVC6cnLyViO7NIGBuoSWn50g8u0EpxG8nA2ueC
kTdo8bFz8dVRGhrJK4KjXTsl8Ut+tPZ2M3XFGzsV3f5faF/DV1v63t81UWzZjQKG
tGyV4lWozfVeZgwRfMQoKmgsDmho3a6pTzRNhSwerom5bYURyLM+unwK3MHPFwFj
5HQiwiekLDopftmoOIl6mdvbpVDmMMUhfdosYOvEBz6yHCrZUt86VoQgHOCQzeXk
b/ngO5LTWHh+Gf2r7xsU
=uwkX
-END PGP SIGNATURE-
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot