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 | |
| 6 | #define CONFIG_SYS_SDRAM_BASE 0x880000000 |
| 7 | |
Mark Kettenis | 58d5127 | 2021-10-23 16:58:03 +0200 | [diff] [blame] | 8 | /* Environment */ |
| 9 | #define ENV_DEVICE_SETTINGS \ |
| 10 | "stdin=serial,usbkbd\0" \ |
| 11 | "stdout=serial,vidconsole\0" \ |
| 12 | "stderr=serial,vidconsole\0" |
| 13 | |
| 14 | #define ENV_MEM_LAYOUT_SETTINGS \ |
| 15 | "fdt_addr_r=0x960100000\0" \ |
| 16 | "kernel_addr_r=0x960200000\0" |
| 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_USB(func) |
| 26 | |
| 27 | #include <config_distro_bootcmd.h> |
| 28 | |
| 29 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 30 | ENV_DEVICE_SETTINGS \ |
| 31 | ENV_MEM_LAYOUT_SETTINGS \ |
| 32 | BOOTENV |
| 33 | |
| 34 | #endif |