Merge branch 'master' of git://git.denx.de/u-boot-socfpga
[platform/kernel/u-boot.git] / include / config_distro_defaults.h
1 /*
2  * Copyright 2013-2014 Red Hat, Inc.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef _CONFIG_CMD_DISTRO_DEFAULTS_H
8 #define _CONFIG_CMD_DISTRO_DEFAULTS_H
9
10 /*
11  * List of all commands and options that when defined enables support for
12  * features required by distros to support boards in a standardised and
13  * consistent manner.
14  */
15
16 #define CONFIG_BOOTP_BOOTPATH
17 #define CONFIG_BOOTP_DNS
18 #define CONFIG_BOOTP_GATEWAY
19 #define CONFIG_BOOTP_HOSTNAME
20 #define CONFIG_BOOTP_PXE
21 #define CONFIG_BOOTP_SUBNETMASK
22
23 #if defined(__arm__) || defined(__aarch64__)
24 #define CONFIG_BOOTP_PXE_CLIENTARCH     0x100
25 #if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
26 #if !defined(CONFIG_BOOTP_VCI_STRING)
27 #define CONFIG_BOOTP_VCI_STRING         "U-Boot.armv7"
28 #endif
29 #elif defined(__aarch64__)
30 #if !defined(CONFIG_BOOTP_VCI_STRING)
31 #define CONFIG_BOOTP_VCI_STRING         "U-Boot.armv8"
32 #endif
33 #else
34 #if !defined(CONFIG_BOOTP_VCI_STRING)
35 #define CONFIG_BOOTP_VCI_STRING         "U-Boot.arm"
36 #endif
37 #endif
38 #elif defined(__i386__)
39 #define CONFIG_BOOTP_PXE_CLIENTARCH     0x0
40 #elif defined(__x86_64__)
41 #define CONFIG_BOOTP_PXE_CLIENTARCH     0x9
42 #endif
43
44 #ifdef CONFIG_ARM64
45 #define CONFIG_CMD_BOOTI
46 #else
47 #define CONFIG_CMD_BOOTZ
48 #endif
49 #define CONFIG_CMD_DHCP
50 #define CONFIG_CMD_EXT2
51 #define CONFIG_CMD_EXT4
52 #define CONFIG_CMD_FAT
53 #define CONFIG_CMD_FS_GENERIC
54 #define CONFIG_CMD_MII
55 #define CONFIG_CMD_PING
56 #define CONFIG_CMD_PXE
57
58 #define CONFIG_CMDLINE_EDITING
59 #define CONFIG_AUTO_COMPLETE
60 #define CONFIG_BOOTDELAY     2
61 #define CONFIG_SYS_LONGHELP
62 #define CONFIG_MENU
63 #define CONFIG_DOS_PARTITION
64 #define CONFIG_EFI_PARTITION
65 #define CONFIG_ISO_PARTITION
66 #define CONFIG_SUPPORT_RAW_INITRD
67 #define CONFIG_SYS_HUSH_PARSER
68 #define CONFIG_ENV_VARS_UBOOT_CONFIG
69
70 #endif  /* _CONFIG_CMD_DISTRO_DEFAULTS_H */