4b341a349c2fca7bea621a058afd71cb79cbc867
[platform/kernel/u-boot.git] / include / configs / imxrt1050-evk.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2019
4  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
5  */
6
7 #ifndef __IMXRT1050_EVK_H
8 #define __IMXRT1050_EVK_H
9
10 #include <asm/arch/imx-regs.h>
11
12 #define CONFIG_SYS_INIT_SP_ADDR         0x20280000
13
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
23 #ifdef CONFIG_DM_VIDEO
24 #define CONFIG_EXTRA_ENV_SETTINGS \
25                 "stdin=serial\0" \
26                 "stdout=serial,vidconsole\0" \
27                 "stderr=serial,vidconsole\0"
28 #endif
29
30 /*
31  * Configuration of the external SDRAM memory
32  */
33
34 #define CONFIG_SYS_SPL_LEN              0x00008000
35 #define CONFIG_SYS_UBOOT_START          0x800023FD
36
37 #endif /* __IMXRT1050_EVK_H */