blob: 8237239c0021d32f53e53ff8e4cf0109c0539277 [file] [log] [blame]
Dennis Gilmore13a49c32014-02-04 05:25:47 -06001/*
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/*
Tom Rinie1416522014-02-05 08:04:38 -050011 * List of all commands and options that when defined enables support for
12 * features required by distros to support boards in a standardised and
Robert P. J. Day3bd6f7e2014-10-21 16:35:28 -040013 * consistent manner.
Dennis Gilmore13a49c32014-02-04 05:25:47 -060014 */
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
Thierry Reding1344bd72015-03-20 13:11:58 +010023#if defined(__arm__) || defined(__aarch64__)
Dennis Gilmore13a49c32014-02-04 05:25:47 -060024#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"
Thierry Reding1344bd72015-03-20 13:11:58 +010027#elif defined(__aarch64__)
28#define CONFIG_BOOTP_VCI_STRING "U-boot.armv8"
Dennis Gilmore13a49c32014-02-04 05:25:47 -060029#else
30#define CONFIG_BOOTP_VCI_STRING "U-boot.arm"
31#endif
32#endif
33
34#define CONFIG_OF_LIBFDT
35
Thierry Redinge2a5d552015-03-20 12:56:17 +010036#ifdef CONFIG_ARM64
37#define CONFIG_CMD_BOOTI
38#else
Dennis Gilmore13a49c32014-02-04 05:25:47 -060039#define CONFIG_CMD_BOOTZ
Thierry Redinge2a5d552015-03-20 12:56:17 +010040#endif
Dennis Gilmore13a49c32014-02-04 05:25:47 -060041#define CONFIG_CMD_DHCP
42#define CONFIG_CMD_ELF
43#define CONFIG_CMD_EXT2
44#define CONFIG_CMD_EXT4
45#define CONFIG_CMD_FAT
46#define CONFIG_CMD_FS_GENERIC
47#define CONFIG_CMD_MII
48#define CONFIG_CMD_NET
49#define CONFIG_CMD_PING
50#define CONFIG_CMD_PXE
51
52#define CONFIG_CMDLINE_EDITING
53#define CONFIG_AUTO_COMPLETE
54#define CONFIG_BOOTDELAY 2
55#define CONFIG_SYS_LONGHELP
56#define CONFIG_MENU
57#define CONFIG_DOS_PARTITION
58#define CONFIG_EFI_PARTITION
59#define CONFIG_SUPPORT_RAW_INITRD
60#define CONFIG_SYS_HUSH_PARSER
61
62#endif /* _CONFIG_CMD_DISTRO_DEFAULTS_H */