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