]> Git Repo - J-u-boot.git/blame - include/configs/imx8mm_venice.h
Merge tag 'u-boot-imx-master-20250127' of https://gitlab.denx.de/u-boot/custodians...
[J-u-boot.git] / include / configs / imx8mm_venice.h
CommitLineData
03bf8436
TH
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2021 Gateworks Corporation
4 */
5
6#ifndef __IMX8MM_VENICE_H
7#define __IMX8MM_VENICE_H
8
9#include <asm/arch/imx-regs.h>
10#include <linux/sizes.h>
11
65cc0e2a 12#define CFG_SYS_UBOOT_BASE \
03bf8436
TH
13 (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
14
f38956a6 15#ifdef CONFIG_XPL_BUILD
03bf8436 16/* malloc f used before GD_FLG_FULL_MALLOC_INIT set */
dd5b58c4 17#define CFG_MALLOC_F_ADDR 0x930000
03bf8436
TH
18#endif
19
03bf8436 20/* Enable Distro Boot */
03bf8436
TH
21#define BOOT_TARGET_DEVICES(func) \
22 func(MMC, mmc, 1) \
23 func(MMC, mmc, 2) \
c5747369
TH
24 func(USB, usb, 0) \
25 func(USB, usb, 1) \
143539ea 26 func(NVME, nvme, 0) \
03bf8436
TH
27 func(DHCP, dhcp, na)
28#include <config_distro_bootcmd.h>
0613c36a 29#define CFG_EXTRA_ENV_SETTINGS \
765f6f18 30 BOOTENV
03bf8436 31
65cc0e2a
TR
32#define CFG_SYS_INIT_RAM_ADDR 0x40000000
33#define CFG_SYS_INIT_RAM_SIZE SZ_2M
03bf8436 34
3d634b0b 35/* SDRAM configuration: 4GiB */
aa6e94de 36#define CFG_SYS_SDRAM_BASE 0x40000000
3d634b0b
TH
37#define PHYS_SDRAM 0x40000000
38#define PHYS_SDRAM_SIZE 0x80000000 /* 2 GB */
39#define PHYS_SDRAM_2 0xC0000000
40#define PHYS_SDRAM_2_SIZE 0x80000000 /* 2 GB */
03bf8436 41
03bf8436 42#endif
This page took 0.248409 seconds and 5 git commands to generate.