From 8003c7a5b880e6eea83d8191d8d3abc1e0b87db0 Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Tue, 20 Mar 2018 23:04:49 +0000 Subject: 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@ --- sys/arch/arm/include/fdt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/arm/include/fdt.h') 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 * @@ -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 *); -- cgit v1.2.3