config: Define BOOTP client architecture and VCI for ARMv8
authorThierry Reding <treding@nvidia.com>
Fri, 20 Mar 2015 12:11:58 +0000 (13:11 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 28 Mar 2015 16:07:45 +0000 (12:07 -0400)
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>
include/config_distro_defaults.h

index f4a01ba8064200f3fbc80b310e2b62abff8e9976..8237239c0021d32f53e53ff8e4cf0109c0539277 100644 (file)
 #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