blob: e36718dc825b7c672b4c7b20b4bb25cedcec9e7d [file] [log] [blame]
Giulio Benetti8d9c0762020-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
Giulio Benetti8d9c0762020-01-10 15:51:48 +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 Benetti7b40b912020-04-08 17:10:20 +020021#ifdef CONFIG_DM_VIDEO
Giulio Benetti7b40b912020-04-08 17:10:20 +020022#define CONFIG_EXTRA_ENV_SETTINGS \
23 "stdin=serial\0" \
24 "stdout=serial,vidconsole\0" \
25 "stderr=serial,vidconsole\0"
26#endif
27
Giulio Benetti8d9c0762020-01-10 15:51:48 +010028/*
29 * Configuration of the external SDRAM memory
30 */
Giulio Benetti8d9c0762020-01-10 15:51:48 +010031
Giulio Benetti8d9c0762020-01-10 15:51:48 +010032#define CONFIG_SYS_UBOOT_START 0x800023FD
Giulio Benetti8d9c0762020-01-10 15:51:48 +010033
34#endif /* __IMXRT1050_EVK_H */