mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
33 lines
623 B
C
33 lines
623 B
C
|
#ifndef __CONFIG_H
|
||
|
#define __CONFIG_H
|
||
|
|
||
|
#include <linux/sizes.h>
|
||
|
|
||
|
/* Environment */
|
||
|
#define ENV_DEVICE_SETTINGS \
|
||
|
"stdin=serial,usbkbd\0" \
|
||
|
"stdout=serial,vidconsole\0" \
|
||
|
"stderr=serial,vidconsole\0"
|
||
|
|
||
|
#define ENV_MEM_LAYOUT_SETTINGS \
|
||
|
"fdt_addr_r=0x960100000\0" \
|
||
|
"kernel_addr_r=0x960200000\0"
|
||
|
|
||
|
#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) \
|
||
|
BOOT_TARGET_USB(func)
|
||
|
|
||
|
#include <config_distro_bootcmd.h>
|
||
|
|
||
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||
|
ENV_DEVICE_SETTINGS \
|
||
|
ENV_MEM_LAYOUT_SETTINGS \
|
||
|
BOOTENV
|
||
|
|
||
|
#endif
|