summaryrefslogtreecommitdiff
path: root/include/configs/iot2050.h
blob: fac4bbcd4eda37253a23cda2675e3c2dabcfe07d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Configuration header file for IOT2050
 * Copyright (c) Siemens AG, 2018-2021
 *
 * Authors:
 *   Le Jin <[email protected]>
 *   Jan Kiszka <[email protected]>
 */

#ifndef __CONFIG_IOT2050_H
#define __CONFIG_IOT2050_H

#include <linux/sizes.h>

#include <configs/ti_armv7_common.h>

/* allow up to 3 USB storage devices */
#ifdef CONFIG_CMD_USB
#undef BOOT_TARGET_USB
#define BOOT_TARGET_USB(func) \
	func(USB, usb, 0) \
	func(USB, usb, 1) \
	func(USB, usb, 2)
#endif

/* DDR Configuration */
#define CFG_SYS_SDRAM_BASE1		0x880000000

/*
 * This defines all MMC devices, even if the basic variant has no mmc1.
 * The non-supported device will be removed from the boot targets during
 * runtime, when that board was detected.
 */
#undef BOOT_TARGET_DEVICES
#define BOOT_TARGET_DEVICES(func) \
       func(MMC, mmc, 1) \
       func(MMC, mmc, 0) \
       BOOT_TARGET_USB(func)

#endif /* __CONFIG_IOT2050_H */