]> git.ipfire.org Git - people/ms/u-boot.git/blob - include/config_distro_defaults.h
config: Use booti instead of bootz on 64-bit ARM
[people/ms/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__)
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 #else
28 #define CONFIG_BOOTP_VCI_STRING "U-boot.arm"
29 #endif
30 #endif
31
32 #define CONFIG_OF_LIBFDT
33
34 #ifdef CONFIG_ARM64
35 #define CONFIG_CMD_BOOTI
36 #else
37 #define CONFIG_CMD_BOOTZ
38 #endif
39 #define CONFIG_CMD_DHCP
40 #define CONFIG_CMD_ELF
41 #define CONFIG_CMD_EXT2
42 #define CONFIG_CMD_EXT4
43 #define CONFIG_CMD_FAT
44 #define CONFIG_CMD_FS_GENERIC
45 #define CONFIG_CMD_MII
46 #define CONFIG_CMD_NET
47 #define CONFIG_CMD_PING
48 #define CONFIG_CMD_PXE
49
50 #define CONFIG_CMDLINE_EDITING
51 #define CONFIG_AUTO_COMPLETE
52 #define CONFIG_BOOTDELAY 2
53 #define CONFIG_SYS_LONGHELP
54 #define CONFIG_MENU
55 #define CONFIG_DOS_PARTITION
56 #define CONFIG_EFI_PARTITION
57 #define CONFIG_SUPPORT_RAW_INITRD
58 #define CONFIG_SYS_HUSH_PARSER
59
60 #endif /* _CONFIG_CMD_DISTRO_DEFAULTS_H */