1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2016 NXP Semiconductors
4 * Copyright (C) 2021 Fabio Estevam <festevam@denx.de>
6 * Configuration settings for the smegw01 board.
9 #ifndef __SMEGW01_CONFIG_H
10 #define __SMEGW01_CONFIG_H
12 #include "mx7_common.h"
15 #define PHYS_SDRAM_SIZE SZ_512M
18 #define CFG_SYS_FSL_ESDHC_ADDR 0
20 /* default to no extra bootparams, we need an empty define for stringification*/
21 #ifndef EXTRA_BOOTPARAMS
22 #define EXTRA_BOOTPARAMS
25 #ifdef CONFIG_SYS_BOOT_LOCKED
26 #define EXTRA_ENV_FLAGS
28 #define EXTRA_ENV_FLAGS "mmcdev:dw,"
31 #define CFG_ENV_FLAGS_LIST_STATIC \
33 "mmcpart_committed:dw," \
37 "upgrade_available:dw," \
40 /* Physical Memory Map */
41 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
43 #define CFG_SYS_SDRAM_BASE PHYS_SDRAM
44 #define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
45 #define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE