bd8fbcafc2d00c71f8d07b9a081963681018abf1
[karo-tx-uboot.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 #define CONFIG_BOOTP_VCI_STRING         "U-boot.armv7"
27 #elif defined(__aarch64__)
28 #define CONFIG_BOOTP_VCI_STRING         "U-boot.armv8"
29 #else
30 #define CONFIG_BOOTP_VCI_STRING         "U-boot.arm"
31 #endif
32 #elif defined(__i386__)
33 #define CONFIG_BOOTP_PXE_CLIENTARCH     0x0
34 #elif defined(__x86_64__)
35 #define CONFIG_BOOTP_PXE_CLIENTARCH     0x9
36 #endif
37
38 #define CONFIG_OF_LIBFDT
39
40 #ifdef CONFIG_ARM64
41 #define CONFIG_CMD_BOOTI
42 #else
43 #define CONFIG_CMD_BOOTZ
44 #endif
45 #define CONFIG_CMD_DHCP
46 #define CONFIG_CMD_ELF
47 #define CONFIG_CMD_EXT2
48 #define CONFIG_CMD_EXT4
49 #define CONFIG_CMD_FAT
50 #define CONFIG_CMD_FS_GENERIC
51 #define CONFIG_CMD_MII
52 #define CONFIG_CMD_PING
53 #define CONFIG_CMD_PXE
54
55 #define CONFIG_CMDLINE_EDITING
56 #define CONFIG_AUTO_COMPLETE
57 #define CONFIG_BOOTDELAY     2
58 #define CONFIG_SYS_LONGHELP
59 #define CONFIG_MENU
60 #define CONFIG_DOS_PARTITION
61 #define CONFIG_EFI_PARTITION
62 #define CONFIG_SUPPORT_RAW_INITRD
63 #define CONFIG_SYS_HUSH_PARSER
64
65 #endif  /* _CONFIG_CMD_DISTRO_DEFAULTS_H */