1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-25 22:56:14 +00:00

Add a DMA constraint for the Rockchip RK3576 too as the SD controller can

only do 32-bit DMA.

ok patrick@, kevlo@
This commit is contained in:
kettenis
2026-03-11 16:21:20 +00:00
parent 3d87bad862
commit 3eaadcfd38

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: efiboot.c,v 1.69 2026/03/09 21:12:25 kettenis Exp $ */
/* $OpenBSD: efiboot.c,v 1.70 2026/03/11 16:21:20 kettenis Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@ -604,6 +604,7 @@ efi_dma_constraint(void)
if (fdt_node_is_compatible(node, "rockchip,rk3528") ||
fdt_node_is_compatible(node, "rockchip,rk3566") ||
fdt_node_is_compatible(node, "rockchip,rk3568") ||
fdt_node_is_compatible(node, "rockchip,rk3576") ||
fdt_node_is_compatible(node, "rockchip,rk3588") ||
fdt_node_is_compatible(node, "rockchip,rk3588s"))
dma_constraint[1] = htobe64(0xffffffff);