mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 15:01:27 +02: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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user