aboutsummaryrefslogtreecommitdiff
path: root/include/configs/broadcom_bcm963158.h
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2019-03-15 15:14:47 +0100
committerTom Rini <trini@konsulko.com>2019-04-22 12:06:39 -0400
commitc986aa624b6a0a627f029b44945b60979e25d109 (patch)
tree331cd262cc8f8ed4eb9e3cdf1592b9e964d9c344 /include/configs/broadcom_bcm963158.h
parentb2aa518a622c2416a8f9a5fe7da14afd0f23def2 (diff)
downloadu-boot-c986aa624b6a0a627f029b44945b60979e25d109.zip
u-boot-c986aa624b6a0a627f029b44945b60979e25d109.tar.gz
u-boot-c986aa624b6a0a627f029b44945b60979e25d109.tar.bz2
bcm963158: add nand support
Enable the nand support (driver and command) in the configuration of the board bcm963158. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'include/configs/broadcom_bcm963158.h')
-rw-r--r--include/configs/broadcom_bcm963158.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/broadcom_bcm963158.h b/include/configs/broadcom_bcm963158.h
index 5834e1e..2de6f21 100644
--- a/include/configs/broadcom_bcm963158.h
+++ b/include/configs/broadcom_bcm963158.h
@@ -30,6 +30,13 @@
#define CONFIG_SKIP_LOWLEVEL_INIT
+#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 */
+
/*
* bcm963158
*/