1 From 4c74fd1266287deca0c1ff091071c5b8558b9735 Mon Sep 17 00:00:00 2001
2 From: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
3 Date: Mon, 18 Jul 2016 10:45:41 -0400
4 Subject: [PATCH 1/1] p1020 esdhc controller reserved bit
6 Prevent SDHCI core from writing reserved bits, where
7 p1020 reserved bit is SDHCI_CTRL_HISPD, not 0x01(SDHCI_CTRL_LED).
9 Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
10 Signed-off-by: Michael Durrant <arcsupport@arcturusnetworks.com>
12 drivers/mmc/host/sdhci-esdhc.h | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h
16 index a870c42..b45de0a 100644
17 --- a/drivers/mmc/host/sdhci-esdhc.h
18 +++ b/drivers/mmc/host/sdhci-esdhc.h
20 #define ESDHC_DMA_SYSCTL 0x40c
21 #define ESDHC_DMA_SNOOP 0x00000040
23 -#define ESDHC_HOST_CONTROL_RES 0x01
24 +#define ESDHC_HOST_CONTROL_RES (SDHCI_CTRL_HISPD)
26 #endif /* _DRIVERS_MMC_SDHCI_ESDHC_H */