Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 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 | /* |
Tom Rini | e141652 | 2014-02-05 08:04:38 -0500 | [diff] [blame] | 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 |
Robert P. J. Day | 3bd6f7e | 2014-10-21 16:35:28 -0400 | [diff] [blame] | 13 | * consistent manner. |
Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 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 | |
Thierry Reding | 1344bd7 | 2015-03-20 13:11:58 +0100 | [diff] [blame] | 23 | #if defined(__arm__) || defined(__aarch64__) |
Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 24 | #define CONFIG_BOOTP_PXE_CLIENTARCH 0x100 |
| 25 | #if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) |
Dennis Gilmore | 2100f22 | 2015-06-28 14:05:10 -0500 | [diff] [blame] | 26 | #if !defined(CONFIG_BOOTP_VCI_STRING) |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 27 | #define CONFIG_BOOTP_VCI_STRING "U-Boot.armv7" |
Dennis Gilmore | 2100f22 | 2015-06-28 14:05:10 -0500 | [diff] [blame] | 28 | #endif |
Thierry Reding | 1344bd7 | 2015-03-20 13:11:58 +0100 | [diff] [blame] | 29 | #elif defined(__aarch64__) |
Dennis Gilmore | 2100f22 | 2015-06-28 14:05:10 -0500 | [diff] [blame] | 30 | #if !defined(CONFIG_BOOTP_VCI_STRING) |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 31 | #define CONFIG_BOOTP_VCI_STRING "U-Boot.armv8" |
Dennis Gilmore | 2100f22 | 2015-06-28 14:05:10 -0500 | [diff] [blame] | 32 | #endif |
Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 33 | #else |
Dennis Gilmore | 2100f22 | 2015-06-28 14:05:10 -0500 | [diff] [blame] | 34 | #if !defined(CONFIG_BOOTP_VCI_STRING) |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 35 | #define CONFIG_BOOTP_VCI_STRING "U-Boot.arm" |
Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 36 | #endif |
Dennis Gilmore | 2100f22 | 2015-06-28 14:05:10 -0500 | [diff] [blame] | 37 | #endif |
Sjoerd Simons | f96d0b8 | 2015-04-13 22:54:26 +0200 | [diff] [blame] | 38 | #elif defined(__i386__) |
| 39 | #define CONFIG_BOOTP_PXE_CLIENTARCH 0x0 |
| 40 | #elif defined(__x86_64__) |
| 41 | #define CONFIG_BOOTP_PXE_CLIENTARCH 0x9 |
Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 42 | #endif |
| 43 | |
| 44 | #define CONFIG_OF_LIBFDT |
| 45 | |
Thierry Reding | e2a5d55 | 2015-03-20 12:56:17 +0100 | [diff] [blame] | 46 | #ifdef CONFIG_ARM64 |
| 47 | #define CONFIG_CMD_BOOTI |
| 48 | #else |
Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 49 | #define CONFIG_CMD_BOOTZ |
Thierry Reding | e2a5d55 | 2015-03-20 12:56:17 +0100 | [diff] [blame] | 50 | #endif |
Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 51 | #define CONFIG_CMD_DHCP |
Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 52 | #define CONFIG_CMD_EXT2 |
| 53 | #define CONFIG_CMD_EXT4 |
| 54 | #define CONFIG_CMD_FAT |
| 55 | #define CONFIG_CMD_FS_GENERIC |
| 56 | #define CONFIG_CMD_MII |
Dennis Gilmore | 13a49c3 | 2014-02-04 05:25:47 -0600 | [diff] [blame] | 57 | #define CONFIG_CMD_PING |
| 58 | #define CONFIG_CMD_PXE |
| 59 | |
| 60 | #define CONFIG_CMDLINE_EDITING |
| 61 | #define CONFIG_AUTO_COMPLETE |
| 62 | #define CONFIG_BOOTDELAY 2 |
| 63 | #define CONFIG_SYS_LONGHELP |
| 64 | #define CONFIG_MENU |
| 65 | #define CONFIG_DOS_PARTITION |
| 66 | #define CONFIG_EFI_PARTITION |
| 67 | #define CONFIG_SUPPORT_RAW_INITRD |
| 68 | #define CONFIG_SYS_HUSH_PARSER |
| 69 | |
| 70 | #endif /* _CONFIG_CMD_DISTRO_DEFAULTS_H */ |