mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-26 17:11:32 +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_PXE
|
||||||
#define CONFIG_BOOTP_SUBNETMASK
|
#define CONFIG_BOOTP_SUBNETMASK
|
||||||
|
|
||||||
#if defined(__arm__)
|
#if defined(__arm__) || defined(__aarch64__)
|
||||||
#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100
|
#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100
|
||||||
#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
|
#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
|
||||||
#define CONFIG_BOOTP_VCI_STRING "U-boot.armv7"
|
#define CONFIG_BOOTP_VCI_STRING "U-boot.armv7"
|
||||||
|
#elif defined(__aarch64__)
|
||||||
|
#define CONFIG_BOOTP_VCI_STRING "U-boot.armv8"
|
||||||
#else
|
#else
|
||||||
#define CONFIG_BOOTP_VCI_STRING "U-boot.arm"
|
#define CONFIG_BOOTP_VCI_STRING "U-boot.arm"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue