u-boot/include/configs/imx8mm-mx8menlo.h
Marek Vasut 5302576e93 ARM: dts: imx8mm: Swap i.MX8M Mini Menlo board UARTs back
The first production revision of the MX8M Mini Menlo board implements
a hardware change which swaps console UART and another UART connector.
Implement the swap, which maps the console UART back to the way Verdin
console is mapped.

Signed-off-by: Marek Vasut <marex@denx.de>
2022-10-20 17:35:52 +02:00

33 lines
840 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2021-2022 Marek Vasut <marex@denx.de>
*/
#ifndef __IMX8MM_MX8MENLO_H
#define __IMX8MM_MX8MENLO_H
#include <configs/verdin-imx8mm.h>
/* Custom initial environment variables */
#undef CONFIG_EXTRA_ENV_SETTINGS
#define CONFIG_EXTRA_ENV_SETTINGS \
BOOTENV \
MEM_LAYOUT_ENV_SETTINGS \
"devtype=mmc\0" \
"devnum=1\0" \
"distro_bootpart=1\0" \
"altbootcmd=" \
"mmc partconf 0 mmcpart ; " \
"if test ${mmcpart} -eq 1 ; then " \
"mmc partconf 0 1 2 0 ; " \
"else " \
"mmc partconf 0 1 1 0 ; " \
"fi ; " \
"boot\0" \
"boot_file=fitImage\0" \
"console=ttymxc0\0" \
"fdt_addr=0x43000000\0" \
"initrd_addr=0x43800000\0" \
"kernel_image=fitImage\0"
#endif /* __IMX8MM_MX8MENLO_H */