Ariel D'Alessandro | 93add53 | 2022-04-12 10:31:38 -0300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2021 Collabora Ltd. |
| 4 | */ |
| 5 | |
| 6 | #ifndef __IMX8MN_BSH_SMM_S2PRO_H |
| 7 | #define __IMX8MN_BSH_SMM_S2PRO_H |
| 8 | |
| 9 | #include <configs/imx8mn_bsh_smm_s2_common.h> |
| 10 | |
| 11 | #define BOOT_TARGET_DEVICES(func) \ |
| 12 | func(MMC, mmc, 0) \ |
| 13 | |
| 14 | #include <config_distro_bootcmd.h> |
| 15 | |
| 16 | #define EMMCARGS \ |
| 17 | "fastboot_partition_alias_all=" \ |
| 18 | __stringify(CONFIG_FASTBOOT_FLASH_MMC_DEV) ".0:0\0" \ |
| 19 | "fastboot_partition_alias_bootloader=" \ |
| 20 | __stringify(CONFIG_FASTBOOT_FLASH_MMC_DEV) ".1:0\0" \ |
| 21 | "emmc_dev=" __stringify(CONFIG_FASTBOOT_FLASH_MMC_DEV) "\0" \ |
| 22 | "emmc_ack=1\0" \ |
| 23 | |
| 24 | /* Initial environment variables */ |
| 25 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 26 | MEM_LAYOUT_ENV_SETTINGS \ |
| 27 | EMMCARGS \ |
| 28 | BOOTENV |
| 29 | |
| 30 | #define PHYS_SDRAM_SIZE SZ_512M |
| 31 | |
| 32 | /* USDHC */ |
| 33 | #define CONFIG_SYS_FSL_ESDHC_ADDR 0 |
| 34 | |
| 35 | #endif /* __IMX8MN_BSH_SMM_S2PRO_H */ |