blob: 7058d632d674d6f820a5028231050e0d1dc05110 [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
Marek Vasut7c641012024-05-21 11:39:38 +020011/* PHY needs a longer autoneg timeout */
Marek Vasut7c641012024-05-21 11:39:38 +020012
Marek Vasute7628752022-04-08 02:15:01 +020013/* Custom initial environment variables */
Tom Rinic9edebe2022-12-04 10:03:50 -050014#undef CFG_EXTRA_ENV_SETTINGS
15#define CFG_EXTRA_ENV_SETTINGS \
Marek Vasute7628752022-04-08 02:15:01 +020016 BOOTENV \
17 MEM_LAYOUT_ENV_SETTINGS \
18 "devtype=mmc\0" \
19 "devnum=1\0" \
20 "distro_bootpart=1\0" \
21 "altbootcmd=" \
22 "mmc partconf 0 mmcpart ; " \
23 "if test ${mmcpart} -eq 1 ; then " \
24 "mmc partconf 0 1 2 0 ; " \
25 "else " \
26 "mmc partconf 0 1 1 0 ; " \
27 "fi ; " \
28 "boot\0" \
29 "boot_file=fitImage\0" \
Marek Vasut331e3fc2022-09-19 21:35:56 +020030 "console=ttymxc0\0" \
Marek Vasute7628752022-04-08 02:15:01 +020031 "fdt_addr=0x43000000\0" \
32 "initrd_addr=0x43800000\0" \
33 "kernel_image=fitImage\0"
34
Marek Vasute7628752022-04-08 02:15:01 +020035#endif /* __IMX8MM_MX8MENLO_H */