[PATCH 4/5] ARM: tegra: add barebox update handler to Beaver board
Lucas Stach
dev at lynxeye.de
Fri Feb 27 11:22:17 PST 2015
Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
arch/arm/boards/nvidia-beaver/board.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boards/nvidia-beaver/board.c b/arch/arm/boards/nvidia-beaver/board.c
index d270301..b4d856e 100644
--- a/arch/arm/boards/nvidia-beaver/board.c
+++ b/arch/arm/boards/nvidia-beaver/board.c
@@ -19,6 +19,7 @@
#include <gpio.h>
#include <i2c/i2c.h>
#include <init.h>
+#include <mach/tegra-bbu.h>
static int nvidia_beaver_fs_init(void)
{
@@ -53,6 +54,9 @@ static int nvidia_beaver_device_init(void)
barebox_set_hostname("beaver");
+ tegra_bbu_register_emmc_handler("eMMC", "/dev/disk0.boot0",
+ BBU_HANDLER_FLAG_DEFAULT);
+
return 0;
}
device_initcall(nvidia_beaver_device_init);
--
2.1.0
More information about the barebox
mailing list