Mark Kettenis | 58d5127 | 2021-10-23 16:58:03 +0200 | [diff] [blame] | 1 | #ifndef __CONFIG_H |
| 2 | #define __CONFIG_H |
| 3 | |
| 4 | #include <linux/sizes.h> |
| 5 | |
Mark Kettenis | 58d5127 | 2021-10-23 16:58:03 +0200 | [diff] [blame] | 6 | /* Environment */ |
| 7 | #define ENV_DEVICE_SETTINGS \ |
| 8 | "stdin=serial,usbkbd\0" \ |
| 9 | "stdout=serial,vidconsole\0" \ |
| 10 | "stderr=serial,vidconsole\0" |
| 11 | |
| 12 | #define ENV_MEM_LAYOUT_SETTINGS \ |
| 13 | "fdt_addr_r=0x960100000\0" \ |
| 14 | "kernel_addr_r=0x960200000\0" |
| 15 | |
| 16 | #if CONFIG_IS_ENABLED(CMD_USB) |
| 17 | #define BOOT_TARGET_USB(func) func(USB, usb, 0) |
| 18 | #else |
| 19 | #define BOOT_TARGET_USB(func) |
| 20 | #endif |
| 21 | |
| 22 | #define BOOT_TARGET_DEVICES(func) \ |
| 23 | BOOT_TARGET_USB(func) |
| 24 | |
| 25 | #include <config_distro_bootcmd.h> |
| 26 | |
| 27 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 28 | ENV_DEVICE_SETTINGS \ |
| 29 | ENV_MEM_LAYOUT_SETTINGS \ |
| 30 | BOOTENV |
| 31 | |
| 32 | #endif |