summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/fdt.h
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/arm/include/fdt.h
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/arm/include/fdt.h')
-rw-r--r--sys/arch/arm/include/fdt.h3
1 files changed, 2 insertions, 1 deletions
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 *);