summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/dev/arm64_bus_space.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-03-20 23:04:49 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-03-20 23:04:49 +0000
commit8003c7a5b880e6eea83d8191d8d3abc1e0b87db0 (patch)
treeaacb5f4619891a6fe39b1f0fbedba75353cfbd79 /sys/arch/arm64/dev/arm64_bus_space.c
parentb2d42ca47b3110cb63b8a1d163c5c1de89895a5d (diff)
To allow sharing more code between armv7 and arm64 platforms, introduce
a common bus space tag that can be used for early console attachment. ok kettenis@
Diffstat (limited to 'sys/arch/arm64/dev/arm64_bus_space.c')
-rw-r--r--sys/arch/arm64/dev/arm64_bus_space.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm64/dev/arm64_bus_space.c b/sys/arch/arm64/dev/arm64_bus_space.c
index f9247a19af1..cab41ff1061 100644
--- a/sys/arch/arm64/dev/arm64_bus_space.c
+++ b/sys/arch/arm64/dev/arm64_bus_space.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arm64_bus_space.c,v 1.4 2017/04/27 10:57:05 kettenis Exp $ */
+/* $OpenBSD: arm64_bus_space.c,v 1.5 2018/03/20 23:04:48 patrick Exp $ */
/*
* Copyright (c) 2001-2003 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -58,6 +58,7 @@ bus_space_t arm64_bs_tag = {
._space_subregion = generic_space_region,
._space_vaddr = generic_space_vaddr
};
+bus_space_t *fdt_cons_bs_tag = &arm64_bs_tag;
bus_space_t arm64_a4x_bs_tag = {
.bus_base = 0ULL, // XXX