summaryrefslogtreecommitdiff
path: root/include/config_distro_defaults.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-03-20 13:11:58 +0100
committerTom Rini <trini@konsulko.com>2015-03-28 12:07:45 -0400
commit1344bd7ebec4e0d2c0e2da0133b957d3cf93357b (patch)
tree3528a802eee5a29044286bc91eb4bf6367cc13ac /include/config_distro_defaults.h
parente2a5d55642712f3c5a95b148cd1c94be801c4c4f (diff)
downloadu-boot-1344bd7ebec4e0d2c0e2da0133b957d3cf93357b.tar.gz
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>
Diffstat (limited to 'include/config_distro_defaults.h')
-rw-r--r--include/config_distro_defaults.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h
index f4a01ba806..8237239c00 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