cmd: Fix Kconfig coding style
[u-boot.git] / include / configs / imx6dl-mamoj.h
blob8abb58b069186f22d88c4aff79c54ea25ab6cd76
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Copyright (C) 2018 Simone CIANNI <simone.cianni@bticino.it>
4 * Copyright (C) 2018 Raffaele RECALCATI <raffaele.recalcati@bticino.it>
5 * Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
7 * Configuration settings for the BTicion i.MX6DL Mamoj board.
8 */
10 #ifndef __IMX6DL_MAMOJ_CONFIG_H
11 #define __IMX6DL_MAMOJ_CONFIG_H
13 #include <linux/sizes.h>
14 #include "mx6_common.h"
16 /* Total Size of Environment Sector */
18 /* Environment */
19 #ifndef CONFIG_ENV_IS_NOWHERE
20 /* Environment in MMC */
21 #endif
23 #define CFG_EXTRA_ENV_SETTINGS \
24 "scriptaddr=0x14000000\0" \
25 "fdt_addr_r=0x13000000\0" \
26 "kernel_addr_r=0x10008000\0" \
27 "fdt_high=0xffffffff\0" \
28 "dfu_alt_info_spl=spl raw 0x2 0x400\0" \
29 "dfu_alt_info_uboot=u-boot raw 0x8a 0x11400\0" \
30 BOOTENV
32 #define BOOT_TARGET_DEVICES(func) \
33 func(MMC, mmc, 2)
35 #include <config_distro_bootcmd.h>
37 /* UART */
38 #define CFG_MXC_UART_BASE UART3_BASE
40 /* MMC */
42 /* Ethernet */
43 #define CFG_FEC_MXC_PHYADDR 1
45 /* Falcon */
47 /* MMC support: args@1MB kernel@2MB */
49 /* Miscellaneous configurable options */
51 /* Physical Memory Map */
52 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
54 #define CFG_SYS_SDRAM_BASE PHYS_SDRAM
55 #define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
56 #define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
58 #endif /* __IMX6DL_MAMOJ_CONFIG_H */