blob: 938c5406b821aeee9c98c92a85e28f9059813677 [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" \
Marek Vasut331e3fc2022-09-19 21:35:56 +020028 "console=ttymxc0\0" \
Marek Vasute7628752022-04-08 02:15:01 +020029 "fdt_addr=0x43000000\0" \
30 "initrd_addr=0x43800000\0" \
31 "kernel_image=fitImage\0"
32
Marek Vasute7628752022-04-08 02:15:01 +020033#endif /* __IMX8MM_MX8MENLO_H */