Add a BBU handler for easy updating. Signed-off-by: Lucas Stach <dev@xxxxxxxxxx> --- arch/arm/boards/avnet-zedboard/board.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boards/avnet-zedboard/board.c b/arch/arm/boards/avnet-zedboard/board.c index faa0bacf0ce1..b19b26bfb307 100644 --- a/arch/arm/boards/avnet-zedboard/board.c +++ b/arch/arm/boards/avnet-zedboard/board.c @@ -2,6 +2,7 @@ // SPDX-FileCopyrightText: 2013 Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx> #include <asm/armlinux.h> +#include <bbu.h> #include <common.h> #include <environment.h> #include <asm/mach-types.h> @@ -17,6 +18,9 @@ static int zedboard_console_init(void) barebox_set_hostname("zedboard"); + bbu_register_std_file_update("SD", BBU_HANDLER_FLAG_DEFAULT, + "/boot/BOOT.bin", filetype_zynq_image); + return 0; } console_initcall(zedboard_console_init); -- 2.47.1