mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
93bb62abaf
This converts 8 usages of this option to the non-SPL form, since there is no SPL_CMD_USB defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
34 lines
660 B
C
34 lines
660 B
C
#ifndef __CONFIG_H
|
|
#define __CONFIG_H
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
/* Environment */
|
|
#define ENV_DEVICE_SETTINGS \
|
|
"stdin=serial,usbkbd,spikbd\0" \
|
|
"stdout=serial,vidconsole\0" \
|
|
"stderr=serial,vidconsole\0"
|
|
|
|
#if IS_ENABLED(CONFIG_CMD_NVME)
|
|
#define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
|
|
#else
|
|
#define BOOT_TARGET_NVME(func)
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_CMD_USB)
|
|
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
|
#else
|
|
#define BOOT_TARGET_USB(func)
|
|
#endif
|
|
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
BOOT_TARGET_NVME(func) \
|
|
BOOT_TARGET_USB(func)
|
|
|
|
#include <config_distro_bootcmd.h>
|
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
|
ENV_DEVICE_SETTINGS \
|
|
BOOTENV
|
|
|
|
#endif
|