summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2015-03-20 13:11:58 +0100
committerTom Rini <[email protected]>2015-03-28 12:07:45 -0400
commit1344bd7ebec4e0d2c0e2da0133b957d3cf93357b (patch)
tree3528a802eee5a29044286bc91eb4bf6367cc13ac /include
parente2a5d55642712f3c5a95b148cd1c94be801c4c4f (diff)
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 <[email protected]> Cc: Tom Rini <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'include')
-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 f4a01ba8064..8237239c002 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