CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2023/04/18 20:01:02

Modified files:
        sys/dev/fdt    : dwmshc.c 
        sys/dev/sdmmc  : sdhc.c sdhcvar.h sdmmc.c sdmmcchip.h 

Log message:
dwmshc on rockchips don't support dma crossy 128M boundaries.

let controllers pass the dma boundaries to sdmmc as part of the
attach args so it can be used for the bus_dmamap_create. add the
boundary to sdhci so dwmshc can set it to be bassed to sdmmc.

tested on a radxa e25 booting and rooting off the onboard emmc.
before this diff some programs would fault with weird instructions.

Reply via email to