blob: 766a212b9705f941e5f0c0ee80579cb8b444da1f [file] [log] [blame]
Dennis Gilmore9e5d27a2014-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 Rini7e782782014-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. Day6f871d02014-10-21 16:35:28 -040013 * consistent manner.
Dennis Gilmore9e5d27a2014-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 Reding82cc6fa2015-03-20 13:11:58 +010023#if defined(__arm__) || defined(__aarch64__)
Dennis Gilmore9e5d27a2014-02-04 05:25:47 -060024#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100
25#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
Dennis Gilmore5a962802015-06-28 14:05:10 -050026#if !defined(CONFIG_BOOTP_VCI_STRING)
Bin Meng75574052016-02-05 19:30:11 -080027#define CONFIG_BOOTP_VCI_STRING "U-Boot.armv7"
Dennis Gilmore5a962802015-06-28 14:05:10 -050028#endif
Thierry Reding82cc6fa2015-03-20 13:11:58 +010029#elif defined(__aarch64__)
Dennis Gilmore5a962802015-06-28 14:05:10 -050030#if !defined(CONFIG_BOOTP_VCI_STRING)
Bin Meng75574052016-02-05 19:30:11 -080031#define CONFIG_BOOTP_VCI_STRING "U-Boot.armv8"
Dennis Gilmore5a962802015-06-28 14:05:10 -050032#endif
Dennis Gilmore9e5d27a2014-02-04 05:25:47 -060033#else
Dennis Gilmore5a962802015-06-28 14:05:10 -050034#if !defined(CONFIG_BOOTP_VCI_STRING)
Bin Meng75574052016-02-05 19:30:11 -080035#define CONFIG_BOOTP_VCI_STRING "U-Boot.arm"
Dennis Gilmore9e5d27a2014-02-04 05:25:47 -060036#endif
Dennis Gilmore5a962802015-06-28 14:05:10 -050037#endif
Sjoerd Simonsd2c2fc42015-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 Gilmore9e5d27a2014-02-04 05:25:47 -060042#endif
43
Thierry Redinge2d901e2015-03-20 12:56:17 +010044#ifdef CONFIG_ARM64
45#define CONFIG_CMD_BOOTI
Thierry Redinge2d901e2015-03-20 12:56:17 +010046#endif
Dennis Gilmore9e5d27a2014-02-04 05:25:47 -060047#define CONFIG_CMD_PXE
48
49#define CONFIG_CMDLINE_EDITING
50#define CONFIG_AUTO_COMPLETE
51#define CONFIG_BOOTDELAY 2
52#define CONFIG_SYS_LONGHELP
53#define CONFIG_MENU
54#define CONFIG_DOS_PARTITION
55#define CONFIG_EFI_PARTITION
Alexander Grafc5bba092016-04-11 16:16:21 +020056#define CONFIG_ISO_PARTITION
Dennis Gilmore9e5d27a2014-02-04 05:25:47 -060057#define CONFIG_SUPPORT_RAW_INITRD
Alexander Grafa2f9dfa2016-04-14 16:07:54 +020058#define CONFIG_ENV_VARS_UBOOT_CONFIG
Dennis Gilmore9e5d27a2014-02-04 05:25:47 -060059
60#endif /* _CONFIG_CMD_DISTRO_DEFAULTS_H */