[PATCH 2/2] ARM: i.MX6 Phytec phyFLEX: Add Nand update support
Sascha Hauer
s.hauer at pengutronix.de
Mon Mar 31 04:37:31 EDT 2014
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/boards/phytec-phyflex-imx6/board.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boards/phytec-phyflex-imx6/board.c b/arch/arm/boards/phytec-phyflex-imx6/board.c
index e9bd168..c90f378 100644
--- a/arch/arm/boards/phytec-phyflex-imx6/board.c
+++ b/arch/arm/boards/phytec-phyflex-imx6/board.c
@@ -21,6 +21,7 @@
#include <gpio.h>
#include <init.h>
#include <of.h>
+#include <mach/bbu.h>
#include <mach/imx6.h>
@@ -43,6 +44,8 @@ static int phytec_pfla02_init(void)
eth_phy_reset();
+ imx6_bbu_nand_register_handler("nand", BBU_HANDLER_FLAG_DEFAULT);
+
return 0;
}
device_initcall(phytec_pfla02_init);
--
1.9.1
More information about the barebox
mailing list