blob: a86bd76a3c725541b9c26b60dc264dfd414d63ea [file] [log] [blame]
Marek Vasutd7f72b62022-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 */
Tom Rini0613c362022-12-04 10:03:50 -050012#undef CFG_EXTRA_ENV_SETTINGS
13#define CFG_EXTRA_ENV_SETTINGS \
Marek Vasutd7f72b62022-04-08 02:15:01 +020014 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 Vasut53025762022-09-19 21:35:56 +020028 "console=ttymxc0\0" \
Marek Vasutd7f72b62022-04-08 02:15:01 +020029 "fdt_addr=0x43000000\0" \
30 "initrd_addr=0x43800000\0" \
31 "kernel_image=fitImage\0"
32
Marek Vasutd7f72b62022-04-08 02:15:01 +020033#endif /* __IMX8MM_MX8MENLO_H */