blob: d8165cc80e3e8df95f8b4d17e040c9e1cdfa282c [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__)
Dennis Gilmore2100f222015-06-28 14:05:10 -050026#if !defined(CONFIG_BOOTP_VCI_STRING)
Dennis Gilmore13a49c32014-02-04 05:25:47 -060027#define CONFIG_BOOTP_VCI_STRING "U-boot.armv7"
Dennis Gilmore2100f222015-06-28 14:05:10 -050028#endif
Thierry Reding1344bd72015-03-20 13:11:58 +010029#elif defined(__aarch64__)
Dennis Gilmore2100f222015-06-28 14:05:10 -050030#if !defined(CONFIG_BOOTP_VCI_STRING)
Thierry Reding1344bd72015-03-20 13:11:58 +010031#define CONFIG_BOOTP_VCI_STRING "U-boot.armv8"
Dennis Gilmore2100f222015-06-28 14:05:10 -050032#endif
Dennis Gilmore13a49c32014-02-04 05:25:47 -060033#else
Dennis Gilmore2100f222015-06-28 14:05:10 -050034#if !defined(CONFIG_BOOTP_VCI_STRING)
Dennis Gilmore13a49c32014-02-04 05:25:47 -060035#define CONFIG_BOOTP_VCI_STRING "U-boot.arm"
36#endif
Dennis Gilmore2100f222015-06-28 14:05:10 -050037#endif
Sjoerd Simonsf96d0b82015-04-13 22:54:26 +020038#elif defined(__i386__)
39#define CONFIG_BOOTP_PXE_CLIENTARCH 0x0
40#elif defined(__x86_64__)
41#define CONFIG_BOOTP_PXE_CLIENTARCH 0x9
Dennis Gilmore13a49c32014-02-04 05:25:47 -060042#endif
43
44#define CONFIG_OF_LIBFDT
45
Thierry Redinge2a5d552015-03-20 12:56:17 +010046#ifdef CONFIG_ARM64
47#define CONFIG_CMD_BOOTI
48#else
Dennis Gilmore13a49c32014-02-04 05:25:47 -060049#define CONFIG_CMD_BOOTZ
Thierry Redinge2a5d552015-03-20 12:56:17 +010050#endif
Dennis Gilmore13a49c32014-02-04 05:25:47 -060051#define CONFIG_CMD_DHCP
52#define CONFIG_CMD_ELF
53#define CONFIG_CMD_EXT2
54#define CONFIG_CMD_EXT4
55#define CONFIG_CMD_FAT
56#define CONFIG_CMD_FS_GENERIC
57#define CONFIG_CMD_MII
Dennis Gilmore13a49c32014-02-04 05:25:47 -060058#define CONFIG_CMD_PING
59#define CONFIG_CMD_PXE
60
61#define CONFIG_CMDLINE_EDITING
62#define CONFIG_AUTO_COMPLETE
63#define CONFIG_BOOTDELAY 2
64#define CONFIG_SYS_LONGHELP
65#define CONFIG_MENU
66#define CONFIG_DOS_PARTITION
67#define CONFIG_EFI_PARTITION
68#define CONFIG_SUPPORT_RAW_INITRD
69#define CONFIG_SYS_HUSH_PARSER
70
71#endif /* _CONFIG_CMD_DISTRO_DEFAULTS_H */