imx: imx8m{m,n,p}_venice: migrate to CONFIG_EXTRA_ENV_TEXT
[platform/kernel/u-boot.git] / include / configs / imx8mp_venice.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2022 Gateworks Corporation
4  */
5
6 #ifndef __IMX8MP_VENICE_H
7 #define __IMX8MP_VENICE_H
8
9 #include <asm/arch/imx-regs.h>
10 #include <linux/sizes.h>
11
12 #define CONFIG_SYS_MONITOR_LEN          SZ_512K
13 #define CONFIG_SYS_UBOOT_BASE   \
14         (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
15
16 /* Enable Distro Boot */
17 #define BOOT_TARGET_DEVICES(func) \
18         func(MMC, mmc, 1) \
19         func(MMC, mmc, 2) \
20         func(USB, usb, 0) \
21         func(DHCP, dhcp, na)
22 #include <config_distro_bootcmd.h>
23 #define CONFIG_EXTRA_ENV_SETTINGS \
24         "splblk=0x40\0" \
25         BOOTENV
26
27 #define CONFIG_SYS_INIT_RAM_ADDR        0x40000000
28 #define CONFIG_SYS_INIT_RAM_SIZE        SZ_2M
29
30 #define CONFIG_SYS_SDRAM_BASE           0x40000000
31
32 /* SDRAM configuration */
33 #define PHYS_SDRAM                      0x40000000
34 #define PHYS_SDRAM_SIZE                 SZ_4G
35
36 #endif