135111cc5595c6a24dd826d503e2d2bae92da1c4 |
|
16-Mar-2012 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
mmc: sh_mmcif: simplify bitmask macros Purely cosmetic readability improvement, no functional change. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
/include/linux/mmc/sh_mmcif.h
|
714c4a6e3a0f730834ec8a8bc83b2a6da33f54dc |
|
30-Aug-2011 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
mmc: sh_mmcif: simplify platform data Provide platforms with a simplified way to specify MMCIF DMA slave IDs in a way, similar to SDHI and other sh_dma clients. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
/include/linux/mmc/sh_mmcif.h
|
100e918610b7487fa18db97b3879cd8d1fdd5974 |
|
27-May-2011 |
Robert P. J. Day <rpjday@crashcourse.ca> |
mmc: Standardize header file inclusion checks. Standardize the checks for multiple MMC header file inclusion, including adding comments to terminating #endif's, and fixing one incorrect comment. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Chris Ball <cjb@laptop.org>
/include/linux/mmc/sh_mmcif.h
|
9d9659b6c0ebf7dde65ebada4c67980818245913 |
|
24-Mar-2011 |
Simon Horman <horms@verge.net.au> |
mmc: Add MMC_PROGRESS_* This is my second attempt to make this enum generally available. The first attempt added MMCIF_PROGRESS_* to include/linux/mmc/sh_mmcif.h. However this is not sufficiently generic as the enum will be used by SDHI boot code. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
bba958783b1b4cb0a9420f4e11082467132a334c |
|
14-Jan-2011 |
Paul Mundt <lethal@linux-sh.org> |
mmc: sh_mmcif: Convert to __raw_xxx() I/O accessors. When using the I/O accessors in raw mode from the boot stubs we don't want to bother with any of the complexity associated with readl/writel and friends. Furthermore, utilization within the context of the host driver itself is all performed on an ioremapped window, so using the __raw variants there doesn't pose any problem either. If and when barriers need to be added in the future, these will need to be explicitly written out, but this is so far not a concern for any of the affected CPUs in question. This fixes up the link error introduced by the ARM tree via its barrier refactoring: arch/arm/boot/compressed/mmcif-sh7372.o: In function `mmcif_loader': mmcif-sh7372.c:(.text+0x9e8): undefined reference to `outer_cache Following the change in: http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=6275/1 Reported-by: Simon Horman <horms@verge.net.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
89e9fd32c6f4ed58cd6f6e3c3cf5b536a3f36100 |
|
11-Jan-2011 |
Paul Mundt <lethal@linux-sh.org> |
Merge branches 'sh/memchunk' and 'common/mmcif' into sh-latest
|
54b384634f7083bcacf9a9ed2e6f4c3d0a246e49 |
|
06-Dec-2010 |
Simon Horman <horms@verge.net.au> |
mmc, sh: Remove sh_mmcif_boot_slurp() As the only caller of sh_mmcif_boot_do_read() is sh_mmcif_boot_slurp() the configuration portion of sh_mmcif_boot_slurp() can be merged into sh_mmcif_boot_do_read(). Once this is done sh_mmcif_boot_slurp() is only a call to sh_mmcif_boot_do_read() with platform specific information - the offset that images are stored on MMC. So make the sh_mmcif_boot_do_read() call directly from platform code and remove sh_mmcif_boot_slurp() altogether. Cc: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
9f843706bb87837b823228467f4f83973fd110e9 |
|
06-Dec-2010 |
Simon Horman <horms@verge.net.au> |
mmc, sh: Move MMCIF_PROGRESS_* into sh_mmcif.h Allow MMCIF_PROGRESS_* to be shared. Cc: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
d8e7943d821d8ee7f48ff38f6f7c509297c88402 |
|
30-Nov-2010 |
Paul Mundt <lethal@linux-sh.org> |
Merge branch 'common/mmcif' into rmobile/mmcif
|
22efa0fee32d9e7f6f6fbc396a872b5708d86048 |
|
27-Nov-2010 |
Simon Horman <horms@verge.net.au> |
sh, mmc: Use defines when setting CE_CLK_CTRL The 16-19th bits of CE_CLK_CTRL set the MMC clock frequency. Cc: Yusuke Goda <yusuke.goda.sx@renesas.com> Cc: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
1ae0affedce1d3e401991fbe7f2674753f0a7641 |
|
27-Nov-2010 |
Simon Horman <horms@verge.net.au> |
mmc, sh: Correct value for reset This resolves a regression that I introduced in "mmc, sh: Move constants to sh_mmcif.h". Having examined the manual and tested the code on an AP4EVB board it seems that the correct sequence is. 1) Write 1 to bit 31 and zeros to all other bits 2) Write zero to all bits Cc: Yusuke Goda <yusuke.goda.sx@renesas.com> Cc: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
a782d688e9c6f9ca9a7a9a28e8e2876969ddef53 |
|
24-Nov-2010 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
mmc: sh_mmcif: add DMA support The MMCIF controller on sh-mobile platforms can use the DMA controller for data transfers. Interface to the SH dmaengine driver to enable DMA. We also have to lower the maximum number of segments to match with the number od DMA descriptors on SuperH, this doesn't significantly affect driver's PIO performance. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
da1d39e3903bc35be2b5e8d2116fdd5d337244d4 |
|
09-Nov-2010 |
Simon Horman <horms@verge.net.au> |
mmc, sh: Move constants to sh_mmcif.h This moves some constants from sh_mmcif.c to sh_mmcif.h so that they can be used in sh_mmcif_boot_init(). It also alters the definition of SOFT_RST_OFF from (0 << 31) to ~SOFT_RST_ON (= ~(1 << 31)). The former seems bogus. The latter is consistent with the code in sh_mmcif_boot_init(). Cc: Yusuke Goda <yusuke.goda.sx@renesas.com> Cc: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
2f6ba5792ce9e4a731baeb976ccc72e0cf43d20b |
|
03-Nov-2010 |
Paul Mundt <lethal@linux-sh.org> |
mmc: sh_mmcif: Convert extern inline to static inline. Presently the extern inline case results in a compiler warning on ARM due to the memory barrier definition used in the I/O routines. These ultimately all want to be static inline anyways, so just convert them all in place. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
777271d0f33da306575ef776c75f66fc27246bf0 |
|
24-Aug-2010 |
Arnd Hannemann <arnd@arndnet.de> |
mmc: Allow the platform to specify the sh_mmcif get_cd handler In some platforms (e.g. AP4EVB) the card detect pin of a slot is not directly connected to the sh_mmcif controller, so that polling needs to be used. To overcome the overhead induced by querying the controller on each poll cycle, card detection can be handled in the platform code more efficiently. This patch exposes a get_cd hook for that purpose. Signed-off-by: Arnd Hannemann <arnd@arndnet.de> Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/include/linux/mmc/sh_mmcif.h
|
8a768952ca8cb5cad98cfa343e6fb131e3bbdc3e |
|
18-May-2010 |
Magnus Damm <damm@opensource.se> |
sh: add boot code to MMCIF driver header This patch adds a set of MMCIF functions for the romImage boot loader that allows the kernel to be booted directly from an MMC card. Thanks to Jeremy Baker for the initial prototype. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
487d9fc5016529d7d77dfe35b666fd3a090e2953 |
|
18-May-2010 |
Magnus Damm <damm@opensource.se> |
sh: prepare MMCIF driver header file Update the MMCIF driver to include register information and register access functions in the header file. The MMCIF boot code builds on top of this. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mmc/sh_mmcif.h
|
fdc50a9444b9781f4dd5aa5f7453300d2688cc5f |
|
26-May-2010 |
Yusuke Goda <yusuke.goda.sx@renesas.com> |
mmc: add support MMCIF for SuperH MMCIF is the MMC Host Interface in SuperH. Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com> Cc: Ben Hutchings <ben@decadent.org.uk> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Magnus Damm <magnus.damm@gmail.com> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/include/linux/mmc/sh_mmcif.h
|