Convert CONFIG_SYS_I2C_EEPROM_CCID et al to Kconfig
[platform/kernel/u-boot.git] / include / configs / apple.h
1 #ifndef __CONFIG_H
2 #define __CONFIG_H
3
4 #include <linux/sizes.h>
5
6 /* Environment */
7 #define ENV_DEVICE_SETTINGS \
8         "stdin=serial,usbkbd,spikbd\0" \
9         "stdout=serial,vidconsole\0" \
10         "stderr=serial,vidconsole\0"
11
12 #if CONFIG_IS_ENABLED(CMD_NVME)
13         #define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
14 #else
15         #define BOOT_TARGET_NVME(func)
16 #endif
17
18 #if CONFIG_IS_ENABLED(CMD_USB)
19         #define BOOT_TARGET_USB(func) func(USB, usb, 0)
20 #else
21         #define BOOT_TARGET_USB(func)
22 #endif
23
24 #define BOOT_TARGET_DEVICES(func) \
25         BOOT_TARGET_NVME(func) \
26         BOOT_TARGET_USB(func)
27
28 #include <config_distro_bootcmd.h>
29
30 #define CONFIG_EXTRA_ENV_SETTINGS \
31         ENV_DEVICE_SETTINGS \
32         BOOTENV
33
34 #endif