2020-01-10 14:51:48 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2019
|
|
|
|
* Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __IMXRT1050_EVK_H
|
|
|
|
#define __IMXRT1050_EVK_H
|
|
|
|
|
|
|
|
#include <asm/arch/imx-regs.h>
|
|
|
|
|
|
|
|
#define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE 1
|
|
|
|
|
|
|
|
#define PHYS_SDRAM 0x80000000
|
|
|
|
#define PHYS_SDRAM_SIZE (32 * 1024 * 1024)
|
|
|
|
|
|
|
|
#define DMAMEM_SZ_ALL (1 * 1024 * 1024)
|
|
|
|
#define DMAMEM_BASE (PHYS_SDRAM + PHYS_SDRAM_SIZE - \
|
|
|
|
DMAMEM_SZ_ALL)
|
|
|
|
|
2022-10-18 13:46:31 +00:00
|
|
|
#ifdef CONFIG_VIDEO
|
2022-12-04 15:03:50 +00:00
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
2020-04-08 15:10:20 +00:00
|
|
|
"stdin=serial\0" \
|
|
|
|
"stdout=serial,vidconsole\0" \
|
|
|
|
"stderr=serial,vidconsole\0"
|
|
|
|
#endif
|
|
|
|
|
2020-01-10 14:51:48 +00:00
|
|
|
/*
|
|
|
|
* Configuration of the external SDRAM memory
|
|
|
|
*/
|
|
|
|
|
2022-11-16 18:10:41 +00:00
|
|
|
#define CFG_SYS_UBOOT_START 0x800023FD
|
2020-01-10 14:51:48 +00:00
|
|
|
|
|
|
|
#endif /* __IMXRT1050_EVK_H */
|