blob: fd1831622f0e6e3cde1279356f87cff768a40cdc [file] [log] [blame]
Marek Vasute7628752022-04-08 02:15:01 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2021-2022 Marek Vasut <marex@denx.de>
4 */
5
6#ifndef __IMX8MM_MX8MENLO_H
7#define __IMX8MM_MX8MENLO_H
8
9#include <configs/verdin-imx8mm.h>
10
11/* Custom initial environment variables */
12#undef CONFIG_EXTRA_ENV_SETTINGS
13#define CONFIG_EXTRA_ENV_SETTINGS \
14 BOOTENV \
15 MEM_LAYOUT_ENV_SETTINGS \
16 "devtype=mmc\0" \
17 "devnum=1\0" \
18 "distro_bootpart=1\0" \
19 "altbootcmd=" \
20 "mmc partconf 0 mmcpart ; " \
21 "if test ${mmcpart} -eq 1 ; then " \
22 "mmc partconf 0 1 2 0 ; " \
23 "else " \
24 "mmc partconf 0 1 1 0 ; " \
25 "fi ; " \
26 "boot\0" \
27 "boot_file=fitImage\0" \
28 "console=ttymxc1\0" \
29 "fdt_addr=0x43000000\0" \
30 "initrd_addr=0x43800000\0" \
31 "kernel_image=fitImage\0"
32
33#undef CONFIG_MXC_UART_BASE
34#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR
35
36#endif /* __IMX8MM_MX8MENLO_H */