1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) Stefano Babic <sbabic@denx.de>
5 * Configuration settings for the E+L i.MX6Q DO82 board.
8 #ifndef __EL6Q_COMMON_CONFIG_H
9 #define __EL6Q_COMMON_CONFIG_H
11 #include <linux/stringify.h>
13 #include "mx6_common.h"
16 #define CFG_SYS_FSL_ESDHC_ADDR 0
17 #define CFG_SYS_FSL_USDHC_NUM 2
20 #define CFG_POWER_PFUZE100_I2C_ADDR 0x08
24 #define CFG_MXC_UART_BASE UART2_BASE
26 #define CFG_EXTRA_ENV_SETTINGS \
28 "cma_size="__stringify(EL6Q_CMA_SIZE)"\0" \
29 "chp_size="__stringify(EL6Q_COHERENT_POOL_SIZE)"\0" \
30 "console=" CONSOLE_DEV "\0" \
31 "fdtfile=undefined\0" \
32 "fdt_high=0xffffffff\0" \
33 "fdt_addr_r=0x18000000\0" \
34 "fdt_addr=0x18000000\0" \
35 "findfdt=setenv fdtfile " CONFIG_DEFAULT_FDT_FILE "\0" \
36 "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
37 "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
38 "pxefile_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
41 #define BOOT_TARGET_DEVICES(func) \
47 #include <config_distro_bootcmd.h>
49 /* Physical Memory Map */
50 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
52 #define CFG_SYS_SDRAM_BASE PHYS_SDRAM
53 #define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
54 #define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
56 /* environment organization */
58 #endif /* __EL6Q_COMMON_CONFIG_H */