summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mkuboot
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2016-12-20 11:27:11 +0000
committerjsg <jsg@openbsd.org>2016-12-20 11:27:11 +0000
commita516609f6bf735d82fcad8db3b54c2d1973eb36d (patch)
treef8c16db6ed881514bc76d39ec722f5745cc1c4e2 /usr.sbin/mkuboot
parentCall the multicast timer callback per domain instead of for all domains (diff)
downloadwireguard-openbsd-a516609f6bf735d82fcad8db3b54c2d1973eb36d.tar.xz
wireguard-openbsd-a516609f6bf735d82fcad8db3b54c2d1973eb36d.zip
Add the u-boot arm64 architecture number and map it to "aarch64" to
match OpenBSD/arm64 MACHINE_ARCH. ok patrick@
Diffstat (limited to 'usr.sbin/mkuboot')
-rw-r--r--usr.sbin/mkuboot/mkuboot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/mkuboot/mkuboot.c b/usr.sbin/mkuboot/mkuboot.c
index 36103366fb8..5a1b764319b 100644
--- a/usr.sbin/mkuboot/mkuboot.c
+++ b/usr.sbin/mkuboot/mkuboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkuboot.c,v 1.6 2015/10/12 06:24:28 deraadt Exp $ */
+/* $OpenBSD: mkuboot.c,v 1.7 2016/12/20 11:27:11 jsg Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
@@ -43,6 +43,7 @@
#define IH_ARCH_SPARC 10 /* Sparc */
#define IH_ARCH_SPARC64 11 /* Sparc 64 Bit */
#define IH_ARCH_M68K 12 /* M68K */
+#define IH_ARCH_ARM64 22 /* AARCH64 */
#define IH_TYPE_STANDALONE 1 /* Standalone */
#define IH_TYPE_KERNEL 2 /* OS Kernel Image */
@@ -94,6 +95,7 @@ struct arch_map {
};
static const struct arch_map archmap[] = {
+ { IH_ARCH_ARM64, "aarch64" },
{ IH_ARCH_ALPHA, "alpha" },
{ IH_ARCH_IA64, "amd64" },
{ IH_ARCH_ARM, "arm" },