u-boot/board/freescale
Abbas Raza aad4659a2f mmc: i.MX6: fsl_esdhc: Define maximum bus width supported by a board
Maximum bus width supported by some i.MX6 boards is not 8bit like
others. In case where both host controller and card support 8bit transfers,
they agree to communicate on 8bit interface while some boards support only 4bit interface.
Due to this reason the mmc 8bit default mode fails on these boards. To rectify this,
define maximum bus width supported by these boards (4bit). If max_bus_width is not
defined, it is 0 by default and 8bit width support will be enabled in host
capabilities otherwise host capabilities are modified accordingly.

It is tested with a MMCplus card.

Signed-off-by: Abbas Raza <Abbas_Raza@mentor.com>
cc: stefano Babic <sbabic@denx.de>
cc: Andy Fleming <afleming@gmail.com>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
Acked-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
2013-04-03 11:26:28 +02:00
..
b4860qds ppc: Move lbc_clk and cpu to arch_global_data 2013-02-04 09:04:57 -05:00
bsc9131rdb ppc: Move lbc_clk and cpu to arch_global_data 2013-02-04 09:04:57 -05:00
bsc9132qds ppc: Move lbc_clk and cpu to arch_global_data 2013-02-04 09:04:57 -05:00
common board/common: Add support for QIXIS read/write using i2c 2013-01-30 11:25:15 -06:00
corenet_ds ppc: Move lbc_clk and cpu to arch_global_data 2013-02-04 09:04:57 -05:00
imx/ddr imx: mx6q DDR3 init: Benefit from available CL = 7 2013-02-12 13:52:31 +01:00
m547xevb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m548xevb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5208evbe Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5235evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5249evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5253demo Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5253evbe Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5271evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5272c3 Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5275evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5282evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5329evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m5373evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m52277evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m53017evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m54418twr Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m54451evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m54455evb Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
mpc832xemds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc837xemds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc837xerdb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc5121ads GCC4.6: Squash warning in mpc5121ads.c 2011-10-27 23:54:01 +02:00
mpc7448hpc2 doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8260ads punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8266ads board/freescale/mpc8266ads/mpc8266ads.c: Fix GCC 4.6 build warning 2011-11-07 22:49:44 +01:00
mpc8308rdb mpc8308rdb: add support for eSDHC MMC controller 2012-09-18 16:16:45 -05:00
mpc8313erdb powerpc/mpc83xx: convert MPC8313ERDB to new-SPL 2012-12-19 17:45:54 -06:00
mpc8315erdb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8323erdb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8349emds mpc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code 2011-11-03 18:27:56 -05:00
mpc8349itx doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8360emds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8360erdk punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8536ds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8540ads 8xxx: Change all 8*xx_DDR addresses to 8xxx 2012-11-27 17:45:17 -06:00
mpc8541cds mpc85xx: use LCRR_DBYP define instead of raw constant 2012-08-23 10:24:18 -05:00
mpc8544ds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8548cds board/freescale/mpc8548cds/mpc8548cds.c: Fix GCC 4.6 build warning 2011-11-11 07:49:00 -06:00
mpc8555cds mpc85xx: use LCRR_DBYP define instead of raw constant 2012-08-23 10:24:18 -05:00
mpc8560ads 8xxx: Change all 8*xx_DDR addresses to 8xxx 2012-11-27 17:45:17 -06:00
mpc8568mds powerpc/mpc85xx: sparse fixes 2012-11-04 11:00:36 -07:00
mpc8569mds 8xxx: Change all 8*xx_DDR addresses to 8xxx 2012-11-27 17:45:17 -06:00
mpc8572ds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8610hpcd doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8641hpcn doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mx6qarm2 i.MX6: consolidate pad names for multi-CPU boards 2013-03-07 16:43:46 +01:00
mx6qsabreauto mx6qsabre{sd,auto}: Add boot mode select 2013-04-03 10:41:51 +02:00
mx6qsabrelite mmc: i.MX6: fsl_esdhc: Define maximum bus width supported by a board 2013-04-03 11:26:28 +02:00
mx6qsabresd mx6qsabre{sd,auto}: Add boot mode select 2013-04-03 10:41:51 +02:00
mx23evk mx23evk: Adjust DRAM control register to use full 128MB of RAM 2013-03-07 17:22:57 +01:00
mx25pdk imximage.cfg: run files through C preprocessor 2013-01-22 10:20:13 +01:00
mx28evk mxs: mmc: Allow overriding default card detect implementation 2013-01-28 11:43:01 +01:00
mx31ads Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
mx31pdk mx31/mx35/mx51/mx53/mx6: add watchdog 2013-01-13 11:39:57 +01:00
mx35pdk mx35pdk:Use IMX_GPIO_NR macro 2013-01-05 17:44:41 +01:00
mx51evk imximage.cfg: run files through C preprocessor 2013-01-22 10:20:13 +01:00
mx53ard imximage.cfg: run files through C preprocessor 2013-01-22 10:20:13 +01:00
mx53evk imximage.cfg: run files through C preprocessor 2013-01-22 10:20:13 +01:00
mx53loco imximage.cfg: run files through C preprocessor 2013-01-22 10:20:13 +01:00
mx53smd imximage.cfg: run files through C preprocessor 2013-01-22 10:20:13 +01:00
p1_p2_rdb ppc: Move lbc_clk and cpu to arch_global_data 2013-02-04 09:04:57 -05:00
p1_p2_rdb_pc 8xxx: Change all 8*xx_DDR addresses to 8xxx 2012-11-27 17:45:17 -06:00
p1010rdb ppc: Move lbc_clk and cpu to arch_global_data 2013-02-04 09:04:57 -05:00
p1022ds powerpc/p1022ds: fix DIU/LBC switching with NAND enabled 2012-08-08 17:13:37 -05:00
p1023rds 8xxx: Change all 8*xx_DDR addresses to 8xxx 2012-11-27 17:45:17 -06:00
p2020come powerpc/85xx: Add USB device-tree fixup for various platforms 2012-07-06 17:03:25 -05:00
p2020ds 8xxx: Change all 8*xx_DDR addresses to 8xxx 2012-11-27 17:45:17 -06:00
p2041rdb ppc: Move lbc_clk and cpu to arch_global_data 2013-02-04 09:04:57 -05:00
t4qds ppc: Move lbc_clk and cpu to arch_global_data 2013-02-04 09:04:57 -05:00