diff options
author | Tobias Heider <tobhe@cvs.openbsd.org> | 2022-11-17 13:30:22 +0000 |
---|---|---|
committer | Tobias Heider <tobhe@cvs.openbsd.org> | 2022-11-17 13:30:22 +0000 |
commit | 2009307ba16f783871c992f2a43a9a914e3cde16 (patch) | |
tree | 6c4d6814962fbe5f99e0e473f7b57843ae1b23cb /usr.sbin/fw_update | |
parent | 0a96cf0b0a3b31f2ae329f624cabd9295bca7281 (diff) |
Add apple-boot firmware for Apple arm64 machines in fw_update(8) patterns.
The pattern matches the printed CPU_IMPL_APPLE name as in:
cpu0 at mainbus0 mpidr 0: Apple Icestorm Pro r2p0
cpu0 at mainbus0 mpidr 0: Apple Blizzard r1p0
ok deraadt@ afresh@ kettenis@
Diffstat (limited to 'usr.sbin/fw_update')
-rw-r--r-- | usr.sbin/fw_update/patterns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/fw_update/patterns.c b/usr.sbin/fw_update/patterns.c index ce4bf5e108c..cccf3c78792 100644 --- a/usr.sbin/fw_update/patterns.c +++ b/usr.sbin/fw_update/patterns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: patterns.c,v 1.4 2022/08/06 03:12:19 jsg Exp $ */ +/* $OpenBSD: patterns.c,v 1.5 2022/11/17 13:30:21 tobhe Exp $ */ /* * Copyright (c) 1995, 1996 Christopher G. Demetriou. All rights reserved. @@ -90,6 +90,7 @@ main(void) printf("%s\n", "acx"); printf("%s\n", "amdgpu"); print_devices("amdgpu", amdgpu_devices, nitems(amdgpu_devices)); + printf("%s\n", "apple-boot ^cpu0*Apple"); printf("%s\n", "athn"); printf("%s\n", "bwfm"); printf("%s\n", "bwi"); |