Giulio Benetti | 8d9c076 | 2020-01-10 15:51:48 +0100 | [diff] [blame] | 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 | |
Giulio Benetti | 8d9c076 | 2020-01-10 15:51:48 +0100 | [diff] [blame] | 12 | #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 | |
Simon Glass | b86986c | 2022-10-18 07:46:31 -0600 | [diff] [blame] | 21 | #ifdef CONFIG_VIDEO |
Tom Rini | 0613c36 | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 22 | #define CFG_EXTRA_ENV_SETTINGS \ |
Giulio Benetti | 7b40b91 | 2020-04-08 17:10:20 +0200 | [diff] [blame] | 23 | "stdin=serial\0" \ |
| 24 | "stdout=serial,vidconsole\0" \ |
| 25 | "stderr=serial,vidconsole\0" |
| 26 | #endif |
| 27 | |
Giulio Benetti | 8d9c076 | 2020-01-10 15:51:48 +0100 | [diff] [blame] | 28 | /* |
| 29 | * Configuration of the external SDRAM memory |
| 30 | */ |
Giulio Benetti | 8d9c076 | 2020-01-10 15:51:48 +0100 | [diff] [blame] | 31 | |
Tom Rini | 65cc0e2 | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 32 | #define CFG_SYS_UBOOT_START 0x800023FD |
Giulio Benetti | 8d9c076 | 2020-01-10 15:51:48 +0100 | [diff] [blame] | 33 | |
| 34 | #endif /* __IMXRT1050_EVK_H */ |