]> git.ipfire.org Git - thirdparty/u-boot.git/blame - include/configs/kontron-sl-mx6ul.h
Convert CONFIG_HOSTNAME et al to Kconfig
[thirdparty/u-boot.git] / include / configs / kontron-sl-mx6ul.h
CommitLineData
e6f48aad
FS
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2018 Kontron Electronics GmbH
4 *
5 * Configuration settings for the Kontron i.MX6UL boards/SoMs.
6 */
7#ifndef __KONTRON_MX6UL_CONFIG_H
8#define __KONTRON_MX6UL_CONFIG_H
9
10#include <asm/arch/imx-regs.h>
11#include <linux/sizes.h>
12
13#include "mx6_common.h"
e6f48aad
FS
14
15/* RAM */
16#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
aa6e94de 17#define CFG_SYS_SDRAM_BASE PHYS_SDRAM
e6f48aad 18
65cc0e2a
TR
19#define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
20#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
e6f48aad 21
65cc0e2a 22#define CFG_SYS_UBOOT_BASE CONFIG_TEXT_BASE
e6f48aad
FS
23
24/* Board and environment settings */
25#define CONFIG_MXC_UART_BASE UART4_BASE
e6f48aad
FS
26
27#ifdef CONFIG_USB_EHCI_HCD
e6f48aad
FS
28#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
29#define CONFIG_MXC_USB_FLAGS 0
e6f48aad
FS
30#endif
31
32/* Boot order for distro boot */
e6f48aad
FS
33#define BOOT_TARGET_DEVICES(func) \
34 func(MMC, mmc, 1) \
35 func(MMC, mmc, 0) \
e6ca1481 36 func(UBIFS, ubifs, 0, UBI, boot) \
e6f48aad
FS
37 func(USB, usb, 0) \
38 func(PXE, pxe, na) \
39 func(DHCP, dhcp, na)
40#include <config_distro_bootcmd.h>
e6f48aad
FS
41
42/* MMC Configs */
43#ifdef CONFIG_FSL_USDHC
6cc04547
TR
44#define CFG_SYS_FSL_ESDHC_ADDR USDHC1_BASE_ADDR
45#define CFG_SYS_FSL_USDHC_NUM 2
e6f48aad
FS
46#endif
47
7dd6af85 48#define CONFIG_EXTRA_ENV_SETTINGS BOOTENV
e6f48aad
FS
49
50#endif /* __KONTRON_MX6UL_CONFIG_H */