From b0e6c9fe229e5e99569bf06af542f24f18add1f2 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Sun, 27 Dec 2020 22:50:42 +0100 Subject: ARM: i.MX: add MNT Reform board support The MNT Reform is a DIY Laptop, built around a Boundarydevices i.MX8MQ SoM. This adds a pretty minimal support, as there is no upstream DT yet. It also does not properly abstract the SoM (power supply init in MNT Reform lowlevel code and only single DRAM configuration supported), as there are a lot of variants of the SoM and I'm only able to test the single one that will be shipped with the Reform. What has been tested to work: - SD card - eMMC - Gigabit network - NVMe storage There is a quirk in the board support: the Nitrogen SoM only allows to configure one of the BOOT_MODE straps, which means the choices for the boot selection are only "boot from fuses", which means eMMC boot and "serial boot". As serial boot isn't really useful on the device (requires USB A<->A cable with VBUS protection), we rely on the BootROM fallback to boot from SD card in this mode. The board support code thus treats the bootsource "serial" as SD card boot. Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer --- images/Makefile.imx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'images') diff --git a/images/Makefile.imx b/images/Makefile.imx index 514db326bb..b892ec0196 100644 --- a/images/Makefile.imx +++ b/images/Makefile.imx @@ -432,3 +432,9 @@ CFG_start_phytec_phycore_imx8mq.pblb.imximg = $(board)/phytec-som-imx8mq/flash-h MAX_PBL_MEMORY_SIZE_start_phytec_phycore_imx8mq = 0x3f000 FILE_barebox-phytec-phycore-imx8mq.img = start_phytec_phycore_imx8mq.pblb.imximg image-$(CONFIG_MACH_PHYTEC_SOM_IMX8MQ) += barebox-phytec-phycore-imx8mq.img + +pblb-$(CONFIG_MACH_MNT_REFORM) += start_mnt_reform +CFG_start_mnt_reform.pblb.imximg = $(board)/mnt-reform/flash-header-mnt-reform.imxcfg +MAX_PBL_MEMORY_SIZE_start_mnt_reform = 0x3f000 +FILE_barebox-mnt-reform.img = start_mnt_reform.pblb.imximg +image-$(CONFIG_MACH_MNT_REFORM) += barebox-mnt-reform.img -- cgit v1.2.1