blob: e180387c687ad48ff256c8ae0c156487a4f71f7f [file] [log] [blame]
Giulio Benettid1203ca2020-02-18 20:02:55 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2020
4 * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
5 */
6
7#ifndef __IMXRT1020_EVK_H
8#define __IMXRT1020_EVK_H
9
10#include <asm/arch/imx-regs.h>
11
Giulio Benettid1203ca2020-02-18 20:02:55 +010012#define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE 1
13
14#define PHYS_SDRAM 0x80000000
15#define PHYS_SDRAM_SIZE (32 * 1024 * 1024)
16
17#define DMAMEM_SZ_ALL (1 * 1024 * 1024)
18#define DMAMEM_BASE (PHYS_SDRAM + PHYS_SDRAM_SIZE - \
19 DMAMEM_SZ_ALL)
20
Giulio Benettid1203ca2020-02-18 20:02:55 +010021/*
22 * Configuration of the external SDRAM memory
23 */
Giulio Benettid1203ca2020-02-18 20:02:55 +010024
Tom Rini6a5dccc2022-11-16 13:10:41 -050025#define CFG_SYS_UBOOT_START 0x800023FD
Giulio Benettid1203ca2020-02-18 20:02:55 +010026
27#endif /* __IMXRT1020_EVK_H */