Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h
[platform/kernel/u-boot.git] / include / configs / imx8mm-mx8menlo.h
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"                                          \
28         "console=ttymxc1\0"                                             \
29         "fdt_addr=0x43000000\0"                                         \
30         "initrd_addr=0x43800000\0"                                      \
31         "kernel_image=fitImage\0"
32
33 #endif /* __IMX8MM_MX8MENLO_H */