blob: 206c4d50d2767dd860cceecf518e77931b942aeb [file] [log] [blame]
Teresa Remmet30fb74d2021-01-13 16:28:09 +01001/* SPDX-License-Identifier: GPL-2.0-or-later
2 *
3 * Copyright (C) 2020 PHYTEC Messtechnik GmbH
4 * Author: Teresa Remmet <t.remmet@phytec.de>
5 */
6
7#ifndef __PHYCORE_IMX8MP_H
8#define __PHYCORE_IMX8MP_H
9
10#include <linux/sizes.h>
11#include <asm/arch/imx-regs.h>
12
Tom Rini6a5dccc2022-11-16 13:10:41 -050013#define CFG_SYS_UBOOT_BASE \
Teresa Remmet30fb74d2021-01-13 16:28:09 +010014 (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
15
Teresa Remmet30fb74d2021-01-13 16:28:09 +010016/* Link Definitions */
Teresa Remmet30fb74d2021-01-13 16:28:09 +010017
Tom Rini6a5dccc2022-11-16 13:10:41 -050018#define CFG_SYS_INIT_RAM_ADDR 0x40000000
19#define CFG_SYS_INIT_RAM_SIZE SZ_512K
Teresa Remmet30fb74d2021-01-13 16:28:09 +010020
Teresa Remmet30fb74d2021-01-13 16:28:09 +010021
Tom Rinibb4dd962022-11-16 13:10:37 -050022#define CFG_SYS_SDRAM_BASE 0x40000000
Teresa Remmet30fb74d2021-01-13 16:28:09 +010023
24#define PHYS_SDRAM 0x40000000
25#define PHYS_SDRAM_SIZE 0x80000000
26
Teresa Remmet30fb74d2021-01-13 16:28:09 +010027#endif /* __PHYCORE_IMX8MP_H */