Merge patch series "upl: Prerequite patches for updated spec"
[u-boot.git] / include / configs / phycore_imx8mm.h
blob20e2ab832eed1136d00971e8f2d525386f452af7
1 /* SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2019-2020 PHYTEC Messtechnik GmbH
4 * Author: Teresa Remmet <t.remmet@phytec.de>
5 */
7 #ifndef __PHYCORE_IMX8MM_H
8 #define __PHYCORE_IMX8MM_H
10 #include <linux/sizes.h>
11 #include <linux/stringify.h>
12 #include <asm/arch/imx-regs.h>
14 #define CFG_SYS_UBOOT_BASE \
15 (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
17 #ifdef CONFIG_XPL_BUILD
18 /* malloc f used before GD_FLG_FULL_MALLOC_INIT set */
19 #define CFG_MALLOC_F_ADDR 0x930000
20 /* For RAW image gives a error info not panic */
21 #endif
23 /* Link Definitions */
25 #define CFG_SYS_INIT_RAM_ADDR 0x40000000
26 #define CFG_SYS_INIT_RAM_SIZE SZ_512K
28 #define CFG_SYS_SDRAM_BASE 0x40000000
30 #define PHYS_SDRAM 0x40000000
31 #define PHYS_SDRAM_SIZE SZ_2G /* 2GB DDR */
33 #endif /* __PHYCORE_IMX8MM_H */