ARM: i.MX6 Phytec phyFLEX: Add Nand update support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
964966be6a
commit
10385d70df
|
@ -21,6 +21,7 @@
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
#include <of.h>
|
#include <of.h>
|
||||||
|
#include <mach/bbu.h>
|
||||||
|
|
||||||
#include <mach/imx6.h>
|
#include <mach/imx6.h>
|
||||||
|
|
||||||
|
@ -43,6 +44,8 @@ static int phytec_pfla02_init(void)
|
||||||
|
|
||||||
eth_phy_reset();
|
eth_phy_reset();
|
||||||
|
|
||||||
|
imx6_bbu_nand_register_handler("nand", BBU_HANDLER_FLAG_DEFAULT);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
device_initcall(phytec_pfla02_init);
|
device_initcall(phytec_pfla02_init);
|
||||||
|
|
Loading…
Reference in New Issue