blob: c4787ab31849180b8c8ce9c0e5de995948913965 [file] [log] [blame]
Giulio Benetti6986d6b2020-01-10 15:51:48 +01001/* 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#ifdef CONFIG_SUPPORT_SPL
15#define CONFIG_SYS_LOAD_ADDR 0x20209000
16#else
17#define CONFIG_SYS_LOAD_ADDR 0x80000000
Giulio Benetti6986d6b2020-01-10 15:51:48 +010018#endif
19
20#define CONFIG_SYS_FSL_ERRATUM_ESDHC135 1
21#define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE 1
22
23#define PHYS_SDRAM 0x80000000
24#define PHYS_SDRAM_SIZE (32 * 1024 * 1024)
25
26#define DMAMEM_SZ_ALL (1 * 1024 * 1024)
27#define DMAMEM_BASE (PHYS_SDRAM + PHYS_SDRAM_SIZE - \
28 DMAMEM_SZ_ALL)
29
Giulio Benetti341ca4f2020-04-08 17:10:20 +020030#ifdef CONFIG_DM_VIDEO
31#define CONFIG_VIDEO_MXS
32#define CONFIG_VIDEO_LOGO
Giulio Benetti341ca4f2020-04-08 17:10:20 +020033#define CONFIG_VIDEO_BMP_LOGO
34
35#define CONFIG_EXTRA_ENV_SETTINGS \
36 "stdin=serial\0" \
37 "stdout=serial,vidconsole\0" \
38 "stderr=serial,vidconsole\0"
39#endif
40
Giulio Benetti6986d6b2020-01-10 15:51:48 +010041/*
42 * Configuration of the external SDRAM memory
43 */
44#define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024)
45
46/* For SPL */
47#ifdef CONFIG_SUPPORT_SPL
48#define CONFIG_SPL_STACK CONFIG_SYS_INIT_SP_ADDR
49#define CONFIG_SYS_SPL_LEN 0x00008000
50#define CONFIG_SYS_UBOOT_START 0x800023FD
51#endif
52/* For SPL ends */
53
54#endif /* __IMXRT1050_EVK_H */