summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2019-03-15 15:14:41 +0100
committerTom Rini <trini@konsulko.com>2019-04-22 11:56:29 -0400
commit6bbecba833095ee3d2a06ba65b1a5e38e4b9256e (patch)
tree2da5a71e2614053113a13d113b143765bfd12040 /include
parent92cd0047a9d4bbd2c0495a68c47c36075211dbaf (diff)
downloadu-boot-6bbecba833095ee3d2a06ba65b1a5e38e4b9256e.tar.gz
u-boot-6bbecba833095ee3d2a06ba65b1a5e38e4b9256e.tar.bz2
u-boot-6bbecba833095ee3d2a06ba65b1a5e38e4b9256e.zip
bcm968380gerg: add nand support
Enable the nand support (driver and command) in the configuration of the board bcm96838gerg. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/broadcom_bcm968380gerg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/broadcom_bcm968380gerg.h b/include/configs/broadcom_bcm968380gerg.h
index 6126a8879e..355f3ef5be 100644
--- a/include/configs/broadcom_bcm968380gerg.h
+++ b/include/configs/broadcom_bcm968380gerg.h
@@ -7,3 +7,10 @@
#include <configs/bmips_bcm6838.h>
#define CONFIG_ENV_SIZE (8 * 1024)
+
+#ifdef CONFIG_NAND
+#define CONFIG_SYS_MAX_NAND_DEVICE 1
+#define CONFIG_SYS_NAND_SELF_INIT
+#define CONFIG_SYS_NAND_ONFI_DETECTION
+#define CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT
+#endif /* CONFIG_NAND */