summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-03-06 10:04:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-03 07:56:29 +0200
commit10385d70dfe623d6e04d884e265d28e90ddd9a9b (patch)
treeaed0b7a60690b3d81e687e8e2e40fb05d2fc22cb /arch
parent964966be6a90cc4cb07743e54e8c170d2e51c923 (diff)
downloadbarebox-10385d70dfe623d6e04d884e265d28e90ddd9a9b.tar.gz
barebox-10385d70dfe623d6e04d884e265d28e90ddd9a9b.tar.xz
ARM: i.MX6 Phytec phyFLEX: Add Nand update support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boards/phytec-phyflex-imx6/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boards/phytec-phyflex-imx6/board.c b/arch/arm/boards/phytec-phyflex-imx6/board.c
index e9bd1680fd..c90f378b00 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);