2021-10-23 14:58:03 +00:00
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
|
|
|
|
/* Environment */
|
|
|
|
#define ENV_DEVICE_SETTINGS \
|
2022-01-23 15:48:13 +00:00
|
|
|
"stdin=serial,usbkbd,spikbd\0" \
|
2021-10-23 14:58:03 +00:00
|
|
|
"stdout=serial,vidconsole\0" \
|
|
|
|
"stderr=serial,vidconsole\0"
|
|
|
|
|
2022-01-22 19:38:19 +00:00
|
|
|
#if CONFIG_IS_ENABLED(CMD_NVME)
|
|
|
|
#define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
|
|
|
|
#else
|
|
|
|
#define BOOT_TARGET_NVME(func)
|
|
|
|
#endif
|
|
|
|
|
2021-10-23 14:58:03 +00:00
|
|
|
#if CONFIG_IS_ENABLED(CMD_USB)
|
|
|
|
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
|
|
|
#else
|
|
|
|
#define BOOT_TARGET_USB(func)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define BOOT_TARGET_DEVICES(func) \
|
2022-01-22 19:38:19 +00:00
|
|
|
BOOT_TARGET_NVME(func) \
|
2021-10-23 14:58:03 +00:00
|
|
|
BOOT_TARGET_USB(func)
|
|
|
|
|
|
|
|
#include <config_distro_bootcmd.h>
|
|
|
|
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
|
|
ENV_DEVICE_SETTINGS \
|
|
|
|
BOOTENV
|
|
|
|
|
|
|
|
#endif
|