sync code with last improvements from OpenBSD
This commit is contained in:
parent
4de47ea988
commit
f463301edc
142 changed files with 4045 additions and 1295 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: rkpinctrl.c,v 1.13 2023/06/21 01:10:17 jsg Exp $ */
|
||||
/* $OpenBSD: rkpinctrl.c,v 1.14 2023/09/22 01:10:44 jsg Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org>
|
||||
*
|
||||
|
@ -29,11 +29,7 @@
|
|||
#include <dev/ofw/ofw_pinctrl.h>
|
||||
#include <dev/ofw/fdt.h>
|
||||
|
||||
#ifdef __armv7__
|
||||
#include <arm/simplebus/simplebusvar.h>
|
||||
#else
|
||||
#include <arm64/dev/simplebusvar.h>
|
||||
#endif
|
||||
#include <machine/simplebusvar.h>
|
||||
|
||||
/* Pin numbers (from devicetree bindings) */
|
||||
#define RK_PA0 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue