summaryrefslogtreecommitdiffstats
path: root/drivers/mci/Kconfig
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/spd'Sascha Hauer2019-03-071-1/+1
|\
| * crc: import crc_itu_t() from kernelSascha Hauer2019-03-041-1/+1
| | | | | | | | | | | | | | | | Our cyc_crc16() function is the same function as crc_itu_t() in the Linux kernel. Import and use crc_itu_t() from the Kernel for consistency. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | esdhc-xload: Move to drivers/mciSascha Hauer2019-03-051-0/+3
|/ | | | | | | The esdhc-xload code will be used by upcoming Layerscape support aswell, so move it from architecture code to drivers/mci/. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: imx-esdhc: Add layerscape supportSascha Hauer2019-02-121-1/+1
| | | | | | | | This adds support for the esdhc controller found on Layerscape SoCs. This means adding the compatible and a driver data to access the controller in bigendian mode. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: add Marvell Dove SDHCI driverMichael Grzeschik2017-04-191-0/+7
| | | | | | | | | | | | | This adds a driver for the SDHCI controller found on Marvell Dove SoCs. Despite a missing pinctrl driver, corresponding MPP config has to be set on a per board basis. This driver was succesfully tested with Solidrun Dove Cubox. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bcm2835: introduce mach-bcm283xAlexander Aring2016-01-041-3/+3
| | | | | | | | | | | | This patch changes the most part of mach-bcm2835 to mach-bcm283x. This prepares to add RPi2 support which is a bcm2836. This patch changes the Kconfig entry namens to BCM283X for drivers only. These drivers should working the same in bcm2836. While updating defconfig I added LED support/trigger option. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MCI: pxa: depend on right symbolLucas Stach2015-06-261-1/+1
| | | | | | | | | Now that we also have PXA3XX support the dependency on ARCH_PXA is too broad for this driver. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/streaming-dma'Sascha Hauer2015-03-091-1/+1
|\ | | | | | | | | Conflicts: drivers/mci/dw_mmc.c
| * MCI: dw-mmc: convert to streaming DMA opsLucas Stach2015-03-061-1/+1
| | | | | | | | | | | | | | | | | | Move to the common streaming DMA ops in order to get rid of the direct usage of the ARM MMU functions for the cache maintenance. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | MMC: dw_mmc: Add support for PIO mode and Rockchip variant of this hardwareAndrey Panov2015-03-051-0/+6
|/ | | | | Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tegra: add SDMMC controller driverLucas Stach2013-12-041-0/+7
| | | | | | | | Confirmed working on Tegra 2, may need some small adjustments for Tegra 3. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mmci: add missing depends on ARM_AMBAAlexander Aring2013-12-021-0/+1
| | | | | | | | The mmci implementation uses some specific arm amba functions, so add a depends on ARM_AMBA. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add: mmci driversJean-Christophe PLAGNIOL-VILLARD2013-10-221-0/+6
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: add designware mmc controller supportSascha Hauer2013-09-111-0/+8
| | | | | | Based on the U-Boot driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: Add support for MMC boot partitionsSascha Hauer2013-05-301-0/+3
| | | | | | | | | | | | | | | | | Some MMC cards support boot partitions. These are special regions on the MMC card intended to put a bootloader on. This patch adds support for these partitions, they are accessible as /dev/diskx.boot[0|1]. Additionally the partitions can be configured bootable using a device parameter. This can be used to mark the user area or one of the boot partitions as bootable. Since this feature is mostly seen on eMMC cards it is made optional to lower the size impact for boards which do not have eMMC. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Added sd driver for bcm2835 (Raspberry PI)wilhelm2013-05-301-0/+4
| | | | | | Replaced defines according to sdhci.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP AM33XX: create new ARCH for AM33xxTeresa Gámez2012-12-201-1/+1
| | | | | | | | | | | | | | | Created ARCH for AM33xx boards as second stage bootloader. This includes: - Added dmtimer0 - Created basic header files - Added MMC support for ARCH_AM33XX - Added reset function Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Some header file cleanup by: Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Cleanup Kconfig filesAlexander Shiyan2012-12-081-2/+2
| | | | | | | | | This patch provides a global cleanup barebox Kconfig files. This includes replacing spaces to tabs, formatting in accordance format, removing extraneous lines and spaces. No functional changes. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci_spi: always compute command crc byteFranck Jullien2012-11-141-1/+1
| | | | | | | | | | | | The spec says: "the CMD8 CRC verification is always enabled. The Host shall set correct CRC in the argument ofCMD8. If CRC error is detected, card returns CRC error in R1 response regardless of command index." Make it simple, and compute crc on every commands. Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add initial i.MX6 supportSascha Hauer2012-04-241-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Correct Kconfig comment for MCI_OMAP_HSMMC to include OMAP3.Robert P. J. Day2012-02-091-2/+2
| | | | | Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers/mci: add PXA host controllerRobert Jarzmik2011-12-081-0/+7
| | | | | | | | | | Add a simple PIO based host controller for MMC and SD cards on PXA SoCs. Reads and writes are available, and no usage is made of DMA or IRQs. SPI mode is not supported yet. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci Kconfig: select DISK_WRITE instead of ATA_WRITESascha Hauer2011-12-071-1/+1
| | | | | | | ATA_WRITE does not exist anymore. DISK_WRITE is the successor for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mmc spi: add missing dependency on SPISascha Hauer2011-11-281-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Use generic block layer to access the drives and do partition parsingJuergen Beisert2011-11-281-1/+0
| | | | | | | Change all relevant blockdevice users to the simplified interface. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ATA/DISK: Reorganize file structure and names for future updatesJuergen Beisert2011-11-281-2/+2
| | | | | | | | 'ATA' means more an interface than a disk drive. Change the names to reflect their real meaning. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: Add MCI over SPI supportFranck Jullien2011-11-251-0/+17
| | | | | | | | | | | This patch adds MMC over SPI support to mci-core.c and mci_spi.c driver. This driver is useful when SOC doesn't have built-in MCI component. Tested with nios, 2Go SD-CARD and FAT file system. Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add support for the i.MX53Marc Kleine-Budde2011-07-291-1/+1
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: add Atmel AT91 MCI driverHubert Feurstein2011-06-161-0/+7
| | | | | | | The driver supports push and pull transfers. Tested on at91sam9m10 SoC. Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
* mci omap: hsmmc is also found on the omap3Sascha Hauer2011-04-121-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: make write support optionalSascha Hauer2011-04-111-0/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: Add omap hsmmc driverSascha Hauer2011-04-041-0/+7
| | | | | | | This driver is based on the U-Boot omap hsmmc driver by Sukumar Ghorai <s-ghorai@ti.com>. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci i.MX23/28: rename driver to mxs.cSascha Hauer2011-03-081-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rename STM arch to mxsSascha Hauer2011-01-201-1/+1
| | | | | | | | We never supported the sigmatel stm chips and probably never will. So do the first step and rename the architecture to mxs just like in the kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* STM378x: Adapt the MCI driver to support i.MX23 and i.MX28Juergen Beisert2010-12-141-2/+2
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: Add i.MX esdhc supportSascha Hauer2010-10-111-0/+13
| | | | | | | | | This adds a driver for the esdhc controller found on Freescale i.MX25/35/51 SoCs. This code is based on the U-Boot driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: Add i.MX27/31 driverSascha Hauer2010-10-111-0/+7
| | | | | | Add i.MX27/31 driver Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add S3C2440 MCI card supportJuergen Beisert2010-10-111-0/+7
| | | | | | | | | | Adding MCI card support for S3C2440 CPUs. This is for reference only, as there is currently no user in the barebox tree. Maybe one with access to the A9M2440 development kit can check it on his/her system. Checked here with my own S3C2440 based system which is not in the barebox tree. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add i.MX23 MCI card supportJuergen Beisert2010-10-111-0/+7
| | | | | | | | | Adding MCI card support for STM378x/i.MX23 CPUs. This is for reference only, as this architecture is currently not part of barebox (but will coming soon). Its tested on the i.MX23 based ChumbyOne. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add MCI card support to bareboxJuergen Beisert2010-10-111-0/+30
This adds the basic framework to handle MCI cards in barebox. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>