Marek Vasut | e762875 | 2022-04-08 02:15:01 +0200 | [diff] [blame] | 1 | /* 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 Vasut | 7c64101 | 2024-05-21 11:39:38 +0200 | [diff] [blame] | 11 | /* PHY needs a longer autoneg timeout */ |
Marek Vasut | 7c64101 | 2024-05-21 11:39:38 +0200 | [diff] [blame] | 12 | |
Marek Vasut | e762875 | 2022-04-08 02:15:01 +0200 | [diff] [blame] | 13 | /* Custom initial environment variables */ |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 14 | #undef CFG_EXTRA_ENV_SETTINGS |
| 15 | #define CFG_EXTRA_ENV_SETTINGS \ |
Marek Vasut | e762875 | 2022-04-08 02:15:01 +0200 | [diff] [blame] | 16 | 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 Vasut | 331e3fc | 2022-09-19 21:35:56 +0200 | [diff] [blame] | 30 | "console=ttymxc0\0" \ |
Marek Vasut | e762875 | 2022-04-08 02:15:01 +0200 | [diff] [blame] | 31 | "fdt_addr=0x43000000\0" \ |
| 32 | "initrd_addr=0x43800000\0" \ |
| 33 | "kernel_image=fitImage\0" |
| 34 | |
Marek Vasut | e762875 | 2022-04-08 02:15:01 +0200 | [diff] [blame] | 35 | #endif /* __IMX8MM_MX8MENLO_H */ |