summaryrefslogtreecommitdiff
path: root/board/menlo
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2021-09-12 00:39:58 +0200
committerStefano Babic <sbabic@denx.de>2021-10-19 12:36:50 +0200
commit92f671899595e08a9698f1bc80aa20a6a16a7f6a (patch)
treef1fe80a57ec954447d87108e8a1c5ef970e6747e /board/menlo
parent4d98af69965aea4060c0352fe2c0e6fdf66fe662 (diff)
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 <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/menlo')
-rw-r--r--board/menlo/m53menlo/m53menlo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/menlo/m53menlo/m53menlo.c b/board/menlo/m53menlo/m53menlo.c
index 2b331b32df..9545e633a3 100644
--- a/board/menlo/m53menlo/m53menlo.c
+++ b/board/menlo/m53menlo/m53menlo.c
@@ -17,6 +17,7 @@
#include <asm/arch/crm_regs.h>
#include <asm/arch/clock.h>
#include <asm/arch/iomux-mx53.h>
+#include <asm/mach-imx/boot_mode.h>
#include <asm/mach-imx/mx5_video.h>
#include <asm/mach-imx/video.h>
#include <asm/gpio.h>
@@ -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;