Giulio Benetti | 6986d6b | 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 | |
| 12 | #define CONFIG_SYS_INIT_SP_ADDR 0x20280000 |
| 13 | |
Giulio Benetti | 6986d6b | 2020-01-10 15:51:48 +0100 | [diff] [blame] | 14 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC135 1 |
| 15 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE 1 |
| 16 | |
| 17 | #define PHYS_SDRAM 0x80000000 |
| 18 | #define PHYS_SDRAM_SIZE (32 * 1024 * 1024) |
| 19 | |
| 20 | #define DMAMEM_SZ_ALL (1 * 1024 * 1024) |
| 21 | #define DMAMEM_BASE (PHYS_SDRAM + PHYS_SDRAM_SIZE - \ |
| 22 | DMAMEM_SZ_ALL) |
| 23 | |
Giulio Benetti | 341ca4f | 2020-04-08 17:10:20 +0200 | [diff] [blame] | 24 | #ifdef CONFIG_DM_VIDEO |
| 25 | #define CONFIG_VIDEO_MXS |
| 26 | #define CONFIG_VIDEO_LOGO |
Giulio Benetti | 341ca4f | 2020-04-08 17:10:20 +0200 | [diff] [blame] | 27 | #define CONFIG_VIDEO_BMP_LOGO |
| 28 | |
| 29 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 30 | "stdin=serial\0" \ |
| 31 | "stdout=serial,vidconsole\0" \ |
| 32 | "stderr=serial,vidconsole\0" |
| 33 | #endif |
| 34 | |
Giulio Benetti | 6986d6b | 2020-01-10 15:51:48 +0100 | [diff] [blame] | 35 | /* |
| 36 | * Configuration of the external SDRAM memory |
| 37 | */ |
Giulio Benetti | 6986d6b | 2020-01-10 15:51:48 +0100 | [diff] [blame] | 38 | |
| 39 | /* For SPL */ |
| 40 | #ifdef CONFIG_SUPPORT_SPL |
| 41 | #define CONFIG_SPL_STACK CONFIG_SYS_INIT_SP_ADDR |
| 42 | #define CONFIG_SYS_SPL_LEN 0x00008000 |
| 43 | #define CONFIG_SYS_UBOOT_START 0x800023FD |
| 44 | #endif |
| 45 | /* For SPL ends */ |
| 46 | |
| 47 | #endif /* __IMXRT1050_EVK_H */ |