Skip to content

Commit

Permalink
ARM: imx: mx5: Enable BMODE command on MX53 Menlo board
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marek Vasut authored and sbabic committed Oct 19, 2021
1 parent 4d98af6 commit 92f6718
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions board/menlo/m53menlo/m53menlo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion configs/m53menlo_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ CONFIG_SYS_BOOTCOUNT_ADDR=0x53FA401C
CONFIG_SPL=y
CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
CONFIG_ENV_OFFSET_REDUND=0x180000
# CONFIG_CMD_BMODE is not set
CONFIG_SYS_LOAD_ADDR=0x70800000
CONFIG_FIT=y
CONFIG_OF_BOARD_SETUP=y
Expand Down

0 comments on commit 92f6718

Please sign in to comment.