Prepare v2023.10
[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 CFG_SYS_UBOOT_BASE      \
13         (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
14
15 /* Enable Distro Boot */
16 #define BOOT_TARGET_DEVICES(func) \
17         func(MMC, mmc, 1) \
18         func(MMC, mmc, 2) \
19         func(USB, usb, 0) \
20         func(DHCP, dhcp, na)
21 #include <config_distro_bootcmd.h>
22 #define CFG_EXTRA_ENV_SETTINGS \
23         BOOTENV
24
25 #define CFG_SYS_INIT_RAM_ADDR        0x40000000
26 #define CFG_SYS_INIT_RAM_SIZE        SZ_2M
27
28 /* SDRAM configuration: 4GiB */
29 #define CFG_SYS_SDRAM_BASE           0x40000000
30 #define PHYS_SDRAM                   0x40000000
31 #define PHYS_SDRAM_SIZE              0x80000000      /* 2 GB */
32 #define PHYS_SDRAM_2                 0xC0000000
33 #define PHYS_SDRAM_2_SIZE            0x80000000      /* 2 GB */
34
35 #endif