diff options
author | Ariel D'Alessandro <ariel.dalessandro@collabora.com> | 2022-04-12 16:31:38 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-12 20:10:44 +0300 |
commit | 6c317fedc7ec317e673b8d13cf58f64b1fbafe37 (patch) | |
tree | 8e35df57b85b5e271addf8347d35e8a71439b598 /board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c | |
parent | a2f5c9366a42572f9d4aa49174ac117408bf7c12 (diff) | |
download | u-boot-6c317fedc7ec317e673b8d13cf58f64b1fbafe37.tar.xz |
bsh: imx8mn-smm-s2/pro: Add iMX8MN BSH SMM S2 boards
Introduce BSH SystemMaster (SMM) S2 board family, which consists of:
iMX8MN SMM S2 and iMX8MN SMM S2 PRO boards.
Add support for iMX8MN BSH SMM S2 board:
- 256 MiB DDR3 RAM
- 512MiB Nand
- USBOTG1 peripheral - fastboot.
- 100Mbit Ethernet
Add support for iMX8MN BSH SMM S2 PRO board:
- 512 MiB DDR3 RAM
- 8 GiB eMMC
- USBOTG1 peripheral - fastboot.
- 100Mbit Ethernet
Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Diffstat (limited to 'board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c')
-rw-r--r-- | board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c new file mode 100644 index 0000000000..0ebf208be8 --- /dev/null +++ b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2021 Collabora Ltd. + */ + +#include <common.h> +#include <asm/arch/sys_proto.h> +#include <env.h> + +int board_init(void) +{ + return 0; +} + +int board_late_init(void) +{ + if (is_usb_boot()) { + env_set("bootcmd", "run bootcmd_mfg"); + env_set("bootdelay", "0"); + } + + return 0; +} |