Use (32-bit) word-sized access in the a4x bus space routine even if only
authorkettenis <kettenis@openbsd.org>
Thu, 27 Apr 2017 10:57:05 +0000 (10:57 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 27 Apr 2017 10:57:05 +0000 (10:57 +0000)
commitfd8946ec40e1169d58d25d8a45148d461c9f037a
tree9123ee1f1655bf14e669f2656a4d685fb2787b96
parent3f1731310f2625bad45b67b7c7026a9ff2a4f1e1
Use (32-bit) word-sized access in the a4x bus space routine even if only
a byte or a half-word is needed.  Certain implementations of the Synopsis
Designware copy-and-paste logic blocks don't respond to transactions that
are smaller than a word.

Fixes the serial console on boards with a Rockchip RK3288.
sys/arch/arm/armv7/armv7_a4x_io.S
sys/arch/arm64/dev/arm64_bus_space.c