Date: Fri, 16 Aug 2019 17:10:38 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r351130 - head/sys/arm/mv Message-ID: <201908161710.x7GHAc2Y089713@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Fri Aug 16 17:10:38 2019 New Revision: 351130 URL: https://svnweb.freebsd.org/changeset/base/351130 Log: arm64: mv: a37x0_gpio: Set the memory to SHAREABLE Since r349596 the syscon driver will map the memory. Since the gpio/pinctrl controller wants it too set it to SHAREABLE. This fix the gpio controller for attaching and so consumer can use it. Now the sdhci_xenon driver can detect presence of an sdcard and attach the mmc driver. MFC after: 1 week Modified: head/sys/arm/mv/a37x0_gpio.c Modified: head/sys/arm/mv/a37x0_gpio.c ============================================================================== --- head/sys/arm/mv/a37x0_gpio.c Fri Aug 16 17:08:06 2019 (r351129) +++ head/sys/arm/mv/a37x0_gpio.c Fri Aug 16 17:10:38 2019 (r351130) @@ -48,8 +48,8 @@ __FBSDID("$FreeBSD$"); #include "gpio_if.h" static struct resource_spec a37x0_gpio_res_spec[] = { - { SYS_RES_MEMORY, 0, RF_ACTIVE }, /* Pinctl / GPIO */ - { SYS_RES_MEMORY, 1, RF_ACTIVE }, /* Interrupts control */ + { SYS_RES_MEMORY, 0, RF_ACTIVE | RF_SHAREABLE }, /* Pinctl / GPIO */ + { SYS_RES_MEMORY, 1, RF_ACTIVE | RF_SHAREABLE }, /* Interrupts control */ { -1, 0, 0 } };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908161710.x7GHAc2Y089713>