[PATCH 4/4] phycore-am335x: Added bbu nand xloadslots handler

Wadim Egorov w.egorov at phytec.de
Mon May 12 05:24:22 PDT 2014


Added bbu nand xloadslots handler to phycore-am335x.

Signed-off-by: Wadim Egorov <w.egorov at phytec.de>
---
 arch/arm/boards/phytec-phycore-am335x/board.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boards/phytec-phycore-am335x/board.c b/arch/arm/boards/phytec-phycore-am335x/board.c
index 59de42b..d790d97 100644
--- a/arch/arm/boards/phytec-phycore-am335x/board.c
+++ b/arch/arm/boards/phytec-phycore-am335x/board.c
@@ -69,6 +69,11 @@ static int pcm051_devices_init(void)
 	armlinux_set_architecture(MACH_TYPE_PCM051);
 
 	am33xx_bbu_spi_nor_mlo_register_handler("MLO.spi", "/dev/m25p0.xload");
+	am33xx_bbu_nand_xloadslots_register_handler("xloadslots",
+		"/dev/nand0.xload.bb"
+		",/dev/nand0.xload_backup1.bb"
+		",/dev/nand0.xload_backup2.bb"
+		",/dev/nand0.xload_backup3.bb");
 
 	return 0;
 }
-- 
1.7.0.4




More information about the barebox mailing list