]>
Commit | Line | Data |
---|---|---|
931edc6e GB |
1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | |
3 | * Copyright (C) 2020 | |
4 | * Author(s): Giulio Benetti <[email protected]> | |
5 | */ | |
6 | ||
7 | #ifndef __IMXRT1020_EVK_H | |
8 | #define __IMXRT1020_EVK_H | |
9 | ||
10 | #include <asm/arch/imx-regs.h> | |
11 | ||
12 | #define CONFIG_SYS_INIT_SP_ADDR 0x20240000 | |
13 | ||
931edc6e GB |
14 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE 1 |
15 | ||
16 | #define PHYS_SDRAM 0x80000000 | |
17 | #define PHYS_SDRAM_SIZE (32 * 1024 * 1024) | |
18 | ||
19 | #define DMAMEM_SZ_ALL (1 * 1024 * 1024) | |
20 | #define DMAMEM_BASE (PHYS_SDRAM + PHYS_SDRAM_SIZE - \ | |
21 | DMAMEM_SZ_ALL) | |
22 | ||
931edc6e GB |
23 | /* |
24 | * Configuration of the external SDRAM memory | |
25 | */ | |
931edc6e GB |
26 | |
27 | /* For SPL */ | |
28 | #ifdef CONFIG_SUPPORT_SPL | |
29 | #define CONFIG_SPL_STACK CONFIG_SYS_INIT_SP_ADDR | |
30 | #define CONFIG_SYS_SPL_LEN 0x00008000 | |
31 | #define CONFIG_SYS_UBOOT_START 0x800023FD | |
32 | #endif | |
33 | /* For SPL ends */ | |
34 | ||
35 | #endif /* __IMXRT1020_EVK_H */ |