On platforms with no support for the shdma dmaengine driver build is
currently failing with
drivers/built-in.o: In function `sh_mobile_sdhi_probe':
drivers/mmc/host/sh_mobile_sdhi.c:170: undefined reference to`shdma_chan_filter'
Fix the breakage by defining shdma_chan_filter to NULL in such
confi
On Thu, May 30, 2013 at 11:23:13AM -0500, Dan Murphy wrote:
> On 05/30/2013 11:02 AM, Guennadi Liakhovetski wrote:
> > On platforms with no support for the shdma dmaengine driver build is
> > currently failing with
> >
> > drivers/built-in.o: In function `sh_mobile_sdhi_probe':
> > drivers/mmc/host
Signed-off-by: Ben Gardiner
---
mmc.c |5 ++
mmc.h |3 +
mmc_cmds.c | 170 +++-
mmc_cmds.h |1 +
4 files changed, 177 insertions(+), 2 deletions(-)
diff --git a/mmc.c b/mmc.c
index c22ce9e..30e3ce0 100644
--- a/mmc.c
Signed-off-by: Ben Gardiner
---
mmc.h |4
mmc_cmds.c | 28 +---
2 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/mmc.h b/mmc.h
index fa46c3a..bedde31 100644
--- a/mmc.h
+++ b/mmc.h
@@ -35,6 +35,10 @@
#define EXT_CSD_HPI_FEATURE50
Signed-off-by: Ben Gardiner
---
mmc.h |3 +++
mmc_cmds.c | 40 ++--
2 files changed, 37 insertions(+), 6 deletions(-)
diff --git a/mmc.h b/mmc.h
index bedde31..5385e0e 100644
--- a/mmc.h
+++ b/mmc.h
@@ -48,6 +48,9 @@
#define EXT_CSD_RST_N_FUNCTION
mmc status get
Signed-off-by: Ben Gardiner
---
mmc.c |5 +
mmc.h |2 ++
mmc_cmds.c | 47 +++
mmc_cmds.h |1 +
4 files changed, 55 insertions(+), 0 deletions(-)
diff --git a/mmc.c b/mmc.c
index a2de863..c22ce9e 100644
--- a
The enhanced user area start field is 4 bytes long
according to the eMMC 4.41 spec.
Signed-off-by: Ben Gardiner
---
mmc.h |4
mmc_cmds.c |8 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/mmc.h b/mmc.h
index 3577f42..fa46c3a 100644
--- a/mmc.h
+++ b/mm
Signed-off-by: Ben Gardiner
---
mmc.h |1 +
mmc_cmds.c |8 +++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/mmc.h b/mmc.h
index 47ef8ea..3420d7b 100644
--- a/mmc.h
+++ b/mmc.h
@@ -41,6 +41,7 @@
#define EXT_CSD_BKOPS_EN 163 /* R/W */
#define
Signed-off-by: Ben Gardiner
---
mmc.h |3 +++
mmc_cmds.c |6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/mmc.h b/mmc.h
index c863751..47ef8ea 100644
--- a/mmc.h
+++ b/mmc.h
@@ -40,6 +40,7 @@
#define EXT_CSD_WR_REL_PARAM 166
#define EXT_CSD_BKOPS_
Most useful when cross-compiling.
Signed-off-by: Ben Gardiner
---
Makefile | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index f03f131..ae846e2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,14 @@
-CC = gcc
+CC ?= gcc
AM_CFLAGS = -D_FILE
This series builds on top of f74dfe23cd00894aa9f235374468e05acb793e17.
It introduces:
* some Makefile changes to make cross-compiling easier
* SEND_STATUS
* 'pretty'-printing sizes of some fields in KiB
* setting the OTP enhanced user area parameters
available also
https://github.com/BenGard
On 05/30/2013 11:02 AM, Guennadi Liakhovetski wrote:
> On platforms with no support for the shdma dmaengine driver build is
> currently failing with
>
> drivers/built-in.o: In function `sh_mobile_sdhi_probe':
> drivers/mmc/host/sh_mobile_sdhi.c:170: undefined reference
> to`shdma_chan_filter'
>
>
On platforms with no support for the shdma dmaengine driver build is
currently failing with
drivers/built-in.o: In function `sh_mobile_sdhi_probe':
drivers/mmc/host/sh_mobile_sdhi.c:170: undefined reference to`shdma_chan_filter'
Fix the breakage by defining shdma_chan_filter to NULL in such
confi
From: Ulf Hansson
The host should be responsible to suspend|resume the host and not the
card. This patch changes this behaviour, by moving the responsiblity
to the mmc bus instead which already holds the card device.
The exported functions mmc_suspend|resume_host are now to be considered
as depc
From: Ulf Hansson
By moving code from the mmc_suspend|resume_host down into each
.suspend|resume bus_ops callback, we get a more flexible solution.
Some nice side effects are that we get a better understanding of each
bus_ops suspend|resume sequence and the common code don't have to take
care of
From: Ulf Hansson
This patch moves the validation for all the suspend prerequisites to be
done at SUSPEND_PREPARE notification. Previously in the SDIO case parts
of the validation was done from mmc_suspend_host.
This patch invents a new pre_suspend bus_ops callback and implements it
for SDIO. Re
From: Ulf Hansson
The MMC/SD/SDIO cards are registered on the mmc_bus and should from a power
management perspective be controlled from there. As of today each and every
host driver needs to issue mmc_suspend|resume_host from their respective
.suspend|resume methods, which seems like an unnecessa
From: Ulf Hansson
For every bus_ops type the .remove callback always exist, thus there
are no need to check the existence of it, before we decide to call it.
Signed-off-by: Ulf Hansson
---
drivers/mmc/core/core.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a
18 matches
Mail list logo