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 | |
| 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 Vasut | 331e3fc | 2022-09-19 21:35:56 +0200 | [diff] [blame] | 28 | "console=ttymxc0\0" \ |
Marek Vasut | e762875 | 2022-04-08 02:15:01 +0200 | [diff] [blame] | 29 | "fdt_addr=0x43000000\0" \ |
| 30 | "initrd_addr=0x43800000\0" \ |
| 31 | "kernel_image=fitImage\0" |
| 32 | |
Marek Vasut | e762875 | 2022-04-08 02:15:01 +0200 | [diff] [blame] | 33 | #endif /* __IMX8MM_MX8MENLO_H */ |