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"
|
|
|
|
|
2023-02-05 22:36:37 +00:00
|
|
|
#if IS_ENABLED(CONFIG_CMD_NVME)
|
2022-01-22 19:38:19 +00:00
|
|
|
#define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
|
|
|
|
#else
|
|
|
|
#define BOOT_TARGET_NVME(func)
|
|
|
|
#endif
|
|
|
|
|
2023-02-05 22:36:46 +00:00
|
|
|
#if IS_ENABLED(CONFIG_CMD_USB)
|
2021-10-23 14:58:03 +00:00
|
|
|
#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>
|
|
|
|
|
2022-12-04 15:03:50 +00:00
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
2021-10-23 14:58:03 +00:00
|
|
|
ENV_DEVICE_SETTINGS \
|
|
|
|
BOOTENV
|
|
|
|
|
|
|
|
#endif
|