2014-02-04 11:25:47 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2013-2014 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CONFIG_CMD_DISTRO_DEFAULTS_H
|
|
|
|
#define _CONFIG_CMD_DISTRO_DEFAULTS_H
|
|
|
|
|
|
|
|
/*
|
2014-02-05 13:04:38 +00:00
|
|
|
* List of all commands and options that when defined enables support for
|
|
|
|
* features required by distros to support boards in a standardised and
|
2014-10-21 20:35:28 +00:00
|
|
|
* consistent manner.
|
2014-02-04 11:25:47 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define CONFIG_BOOTP_BOOTPATH
|
|
|
|
#define CONFIG_BOOTP_DNS
|
|
|
|
#define CONFIG_BOOTP_GATEWAY
|
|
|
|
#define CONFIG_BOOTP_HOSTNAME
|
|
|
|
#define CONFIG_BOOTP_PXE
|
|
|
|
#define CONFIG_BOOTP_SUBNETMASK
|
|
|
|
|
2015-03-20 12:11:58 +00:00
|
|
|
#if defined(__arm__) || defined(__aarch64__)
|
2014-02-04 11:25:47 +00:00
|
|
|
#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100
|
|
|
|
#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
|
2015-06-28 19:05:10 +00:00
|
|
|
#if !defined(CONFIG_BOOTP_VCI_STRING)
|
2016-02-06 03:30:11 +00:00
|
|
|
#define CONFIG_BOOTP_VCI_STRING "U-Boot.armv7"
|
2015-06-28 19:05:10 +00:00
|
|
|
#endif
|
2015-03-20 12:11:58 +00:00
|
|
|
#elif defined(__aarch64__)
|
2015-06-28 19:05:10 +00:00
|
|
|
#if !defined(CONFIG_BOOTP_VCI_STRING)
|
2016-02-06 03:30:11 +00:00
|
|
|
#define CONFIG_BOOTP_VCI_STRING "U-Boot.armv8"
|
2015-06-28 19:05:10 +00:00
|
|
|
#endif
|
2014-02-04 11:25:47 +00:00
|
|
|
#else
|
2015-06-28 19:05:10 +00:00
|
|
|
#if !defined(CONFIG_BOOTP_VCI_STRING)
|
2016-02-06 03:30:11 +00:00
|
|
|
#define CONFIG_BOOTP_VCI_STRING "U-Boot.arm"
|
2014-02-04 11:25:47 +00:00
|
|
|
#endif
|
2015-06-28 19:05:10 +00:00
|
|
|
#endif
|
2015-04-13 20:54:26 +00:00
|
|
|
#elif defined(__i386__)
|
|
|
|
#define CONFIG_BOOTP_PXE_CLIENTARCH 0x0
|
|
|
|
#elif defined(__x86_64__)
|
|
|
|
#define CONFIG_BOOTP_PXE_CLIENTARCH 0x9
|
2014-02-04 11:25:47 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#define CONFIG_OF_LIBFDT
|
|
|
|
|
2015-03-20 11:56:17 +00:00
|
|
|
#ifdef CONFIG_ARM64
|
|
|
|
#define CONFIG_CMD_BOOTI
|
|
|
|
#else
|
2014-02-04 11:25:47 +00:00
|
|
|
#define CONFIG_CMD_BOOTZ
|
2015-03-20 11:56:17 +00:00
|
|
|
#endif
|
2014-02-04 11:25:47 +00:00
|
|
|
#define CONFIG_CMD_DHCP
|
|
|
|
#define CONFIG_CMD_EXT2
|
|
|
|
#define CONFIG_CMD_EXT4
|
|
|
|
#define CONFIG_CMD_FAT
|
|
|
|
#define CONFIG_CMD_FS_GENERIC
|
|
|
|
#define CONFIG_CMD_MII
|
|
|
|
#define CONFIG_CMD_PING
|
|
|
|
#define CONFIG_CMD_PXE
|
|
|
|
|
|
|
|
#define CONFIG_CMDLINE_EDITING
|
|
|
|
#define CONFIG_AUTO_COMPLETE
|
|
|
|
#define CONFIG_BOOTDELAY 2
|
|
|
|
#define CONFIG_SYS_LONGHELP
|
|
|
|
#define CONFIG_MENU
|
|
|
|
#define CONFIG_DOS_PARTITION
|
|
|
|
#define CONFIG_EFI_PARTITION
|
|
|
|
#define CONFIG_SUPPORT_RAW_INITRD
|
|
|
|
#define CONFIG_SYS_HUSH_PARSER
|
|
|
|
|
|
|
|
#endif /* _CONFIG_CMD_DISTRO_DEFAULTS_H */
|