From 92f671899595e08a9698f1bc80aa20a6a16a7f6a Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 12 Sep 2021 00:39:58 +0200 Subject: ARM: imx: mx5: Enable BMODE command on MX53 Menlo board The board can do primary/secondary boot switching, enable the bmode command. Signed-off-by: Marek Vasut Cc: Stefano Babic --- board/menlo/m53menlo/m53menlo.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'board/menlo') diff --git a/board/menlo/m53menlo/m53menlo.c b/board/menlo/m53menlo/m53menlo.c index 2b331b3..9545e63 100644 --- a/board/menlo/m53menlo/m53menlo.c +++ b/board/menlo/m53menlo/m53menlo.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -334,6 +335,10 @@ int splash_screen_prepare(void) int board_late_init(void) { +#ifdef CONFIG_CMD_BMODE + add_board_boot_modes(NULL); +#endif + #if defined(CONFIG_VIDEO_IPUV3) struct udevice *dev; int xpos, ypos, ret; -- cgit v1.1