svn commit: r351130 - head/sys/arm/mv
Emmanuel Vadot
manu at FreeBSD.org
Fri Aug 16 17:10:38 UTC 2019
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 }
};
More information about the svn-src-head
mailing list