[U-Boot] [PATCH] config: Define BOOTP client architecture and VCI for ARMv8
Thierry Reding
thierry.reding at gmail.com
Fri Mar 20 13:11:58 CET 2015
From: Thierry Reding <treding at nvidia.com>
Reuse the 32-bit ARM client architecture and identify ARMv8 specifically
by setting the BOOTP VCI string.
Cc: Dennis Gilmore <dennis at ausil.us>
Cc: Tom Rini <trini at konsulko.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
---
include/config_distro_defaults.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h
index f4a01ba80642..8237239c0021 100644
--- a/include/config_distro_defaults.h
+++ b/include/config_distro_defaults.h
@@ -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
--
2.3.2
More information about the U-Boot
mailing list