summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/armv7/armv7_space.c3
-rw-r--r--sys/arch/arm/include/fdt.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/arm/armv7/armv7_space.c b/sys/arch/arm/armv7/armv7_space.c
index c7e9b686b8f..da3f875a253 100644
--- a/sys/arch/arm/armv7/armv7_space.c
+++ b/sys/arch/arm/armv7/armv7_space.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: armv7_space.c,v 1.9 2016/10/05 07:44:24 patrick Exp $ */
+/* $OpenBSD: armv7_space.c,v 1.10 2018/03/20 23:04:48 patrick Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -163,6 +163,7 @@ struct bus_space armv7_bs_tag = {
bs_notimpl_bs_c_4,
bs_notimpl_bs_c_8,
};
+struct bus_space *fdt_cons_bs_tag = &armv7_bs_tag;
int
armv7_bs_map(void *t, uint64_t bpa, bus_size_t size,
diff --git a/sys/arch/arm/include/fdt.h b/sys/arch/arm/include/fdt.h
index 2331566e33a..b8c8f3b5b69 100644
--- a/sys/arch/arm/include/fdt.h
+++ b/sys/arch/arm/include/fdt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdt.h,v 1.5 2017/08/27 12:42:22 kettenis Exp $ */
+/* $OpenBSD: fdt.h,v 1.6 2018/03/20 23:04:48 patrick Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
*
@@ -35,6 +35,7 @@ struct fdt_attach_args {
};
extern int stdout_node;
+extern bus_space_tag_t fdt_cons_bs_tag;
void *fdt_find_cons(const char *);