mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
config: Define BOOTP client architecture and VCI for ARMv8
Reuse the 32-bit ARM client architecture and identify ARMv8 specifically by setting the BOOTP VCI string. Cc: Dennis Gilmore <dennis@ausil.us> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
e2a5d55642
commit
1344bd7ebe
1 changed files with 3 additions and 1 deletions
|
@ -20,10 +20,12 @@
|
|||
#define CONFIG_BOOTP_PXE
|
||||
#define CONFIG_BOOTP_SUBNETMASK
|
||||
|
||||
#if defined(__arm__)
|
||||
#if defined(__arm__) || defined(__aarch64__)
|
||||
#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100
|
||||
#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
|
||||
#define CONFIG_BOOTP_VCI_STRING "U-boot.armv7"
|
||||
#elif defined(__aarch64__)
|
||||
#define CONFIG_BOOTP_VCI_STRING "U-boot.armv8"
|
||||
#else
|
||||
#define CONFIG_BOOTP_VCI_STRING "U-boot.arm"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue