u-boot-brain/include
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
..
andestech andes_pcu.h: header file of andes_pcu power control unit 2011-11-09 16:35:27 +08:00
asm-generic Add generic global_data 2013-02-04 09:05:45 -05:00
bedbug ppc: Fix DBSR_IAx defines in <bedbug/regs.h> 2011-10-09 22:20:44 +02:00
configs mx23_olinuxino: Change definitions to use spaces instead of tabs 2013-04-03 11:26:12 +02:00
cramfs
faraday ftsdc010: add support of ftsdc010 mmc controller 2011-09-04 18:03:02 -05:00
galileo cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
jffs2 fdt_support: add partitions fixup in mtd node 2010-03-21 22:44:59 +01:00
linux Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
lzma Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
mtd cfi_flash: add support for Spansion flash PPB sector protection 2012-08-13 14:34:35 +02:00
pcmcia
power Merge remote-tracking branch 'u-boot/master' into u-boot-arm-merged 2012-12-19 13:02:36 -08:00
synopsys dwcddr21mctl: Synopsys DWC DDR2/1 Memory Controller 2011-11-09 16:35:27 +08:00
u-boot Roll crc32 into hash infrastructure 2013-02-28 19:09:23 -08:00
usb Merge remote-tracking branch 'u-boot/master' into u-boot-arm-merged 2012-12-19 13:02:36 -08:00
zfs zfs: Add ZFS filesystem support 2012-08-09 23:42:20 +02:00
_exports.h lib, vsprintf: introduce strict_strtoul 2011-05-12 21:07:06 +02:00
.gitignore tools: logo: split bmp arrays from bmp_logo.h 2011-11-15 23:58:26 +01:00
74xx_7xx.h
ACEX1K.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
addr_map.h lib/powerpc: addrmap_phys_to_virt() should return a pointer 2012-07-06 17:30:32 -05:00
aes.h Add AES crypto library 2012-05-15 08:31:37 +02:00
ahci.h ahci: cosmetics and cleanup 2012-11-02 15:20:41 -07:00
ali512x.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
altera.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
amba_clcd.h video: add amba-clcd prime-cell 2010-01-27 21:23:14 +01:00
ambapp.h
api_public.h api: export LCD device to external apps 2011-11-15 23:58:27 +01:00
arm925t.h
armcoremodule.h
asm-offsets.h Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
at45.h
at91rm9200_i2c.h
at91rm9200_net.h
ata.h ahci: Perform SATA flush after disk write. 2012-11-02 15:20:43 -07:00
atmel_hlcdc.h video: atmel: implement lcd_setcolreg function 2012-11-10 14:04:08 +01:00
atmel_lcdc.h
atmel_mci.h mmc: at91: add multi block read/write support. 2012-10-17 11:28:54 +02:00
bcd.h Replace BCD2BIN and BIN2BCD macros with inline functions 2009-08-25 12:57:55 +02:00
bcm5221.h
bmp_layout.h
bootcount.h Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
bootstage.h Merge branch 'agust@denx.de-next' of git://git.denx.de/u-boot-staging 2012-10-15 13:37:22 -07:00
bouncebuf.h common: rework bouncebuf implementation 2012-11-27 17:26:48 -06:00
bus_vcxk.h new video driver for bus vcxk framebuffers 2009-07-26 13:17:21 +02:00
bzlib.h
cbfs.h cbfs: Add docbook template 2012-12-06 13:56:39 -07:00
circbuf.h
cmd_spl.h Add cmd_spl command 2012-03-27 22:05:28 +02:00
command.h Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
common.h Update set_working_fdt_addr() to use setenv_addr() 2013-02-28 19:09:23 -08:00
commproc.h PPC: remove dead boards (AMX860, c2mon, ETX094, IAD210, LANTEC, SCM) 2012-10-28 20:17:25 +01:00
compiler.h Define uintptr_t as long int to simplify printf() format strings 2011-11-22 08:39:24 +01:00
config_cmd_all.h sandbox: Add 'sb' command to access filesystem features 2013-03-04 14:19:56 -05:00
config_cmd_default.h Add 'editenv' command 2009-10-27 20:58:25 +01:00
config_cmd_defaults.h crc32: make command optional 2011-04-13 15:56:43 -04:00
config_defaults.h disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
config_fallbacks.h disk: define HAVE_BLOCK_DEVICE if CONFIG_CMD_PART 2013-03-14 11:06:45 -07:00
config_phylib_all_drivers.h phylib: Enable SMSC LAN87xx PHY support 2012-10-22 15:52:46 -05:00
config_uncmd_spl.h OMAP: networking support for SPL 2012-10-01 10:02:14 -07:00
cpsw.h cpsw: add driver for cpsw ethernet device 2012-09-01 14:58:10 +02:00
crc.h
da9030.h
dataflash.h dataflash: fix parameters order in write_dataflash() 2011-11-27 19:46:27 +01:00
ddr_spd.h powerpc/mpc8xxx: Add fine timing support for DDR3 2012-08-23 12:16:55 -05:00
dfu.h dfu: DFU backend implementation 2012-09-01 16:21:50 +02:00
dialog_pmic.h pmic: dialog: Avoid name conflicts 2012-05-15 08:31:34 +02:00
div64.h
dm9000.h
dm9161.h
dp83848.h
ds1722.h Misc ds1722 fixups 2009-09-04 21:54:52 +02:00
ds4510.h
dtt.h hwmon: Provide dtt_init() 2011-10-22 01:22:21 +02:00
dwmmc.h mmc: dw-mmc: support DesignWare MMC Controller 2012-10-22 02:56:25 -05:00
e500.h poweprc/85xx: add QMan frequency info and fdt fixup. 2012-10-22 15:52:46 -05:00
edid.h edid: Library of EDID decode and print 2012-12-11 13:17:34 -07:00
elf.h compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
env_attr.h env: Add support for callbacks to environment vars 2012-12-13 11:46:55 -07:00
env_callback.h Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
env_default.h env: Add environment variable flags 2012-12-13 11:46:56 -07:00
env_flags.h env: Handle write-once ethaddr and serial# generically 2012-12-13 11:46:57 -07:00
environment.h env: Add support for access control to .flags 2012-12-13 11:46:56 -07:00
errno.h Add basic errno support. 2010-09-19 19:29:47 +02:00
exports.h vsprintf: add ustrtoll function 2013-02-19 17:01:26 -05:00
ext4fs.h fs: Move ls and read methods into ext4, fat 2013-03-04 14:19:56 -05:00
ext_common.h fs: add filesystem switch libary, implement ls and fsload commands 2012-10-29 14:21:20 -07:00
fat.h fs: Move ls and read methods into ext4, fat 2013-03-04 14:19:56 -05:00
fdc.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
fdt_support.h Clean up libfdt.h includes 2013-02-08 22:32:38 -05:00
fdt.h libfdt: update fdt.h from upstream dtc 2013-02-07 20:38:55 -05:00
fdtdec.h Tegra30: mmc: Add Tegra30 SDMMC compatible entry to fdtdec & driver 2013-03-14 11:06:44 -07:00
fis.h
flash.h mtd/cfi: add support for SST 4KB sector granularity 2013-01-10 14:39:13 +01:00
fm_eth.h fm/mEMAC: add mEMAC frame work 2012-10-22 14:31:25 -05:00
fpga.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
fs.h sandbox: Add host filesystem 2013-03-04 14:19:56 -05:00
fsl_diu_fb.h video: Add SHARP LQ084S3LG01 LCD support on P1022DS 2011-08-04 22:55:33 +02:00
fsl_esdhc.h mmc: i.MX6: fsl_esdhc: Define maximum bus width supported by a board 2013-04-03 11:26:28 +02:00
fsl_mdio.h fm/mEMAC: add mEMAC frame work 2012-10-22 14:31:25 -05:00
fsl_nfc.h mxc nand: Homogenize IP revisions with Linux 2012-09-17 19:51:45 -05:00
fsl_pmic.h mx53loco: Turn on VUSB regulator 2012-05-15 08:31:34 +02:00
g_dnl.h Remove obsolete header file 2012-11-27 09:41:10 -07:00
gdsys_fpga.h powerpc/ppc4xx: Remove typedefs for gdsys FPGA 2012-04-30 15:01:29 +02:00
hash.h hash: Use lower case for hash algorithm names 2013-02-28 19:49:13 -08:00
hush.h common: add run_command2 for running simple or hush commands 2011-10-17 22:25:34 +02:00
hwconfig.h powerpc/8xxx: Add hwconfig APIs to address early parsing used by DDR init 2011-01-19 22:58:23 -06:00
i2c.h I2C: Driver changes for FDT support 2013-01-08 10:54:33 +09:00
i2s.h SOUND: SAMSUNG: Add I2S driver 2012-11-15 21:08:20 +09:00
i8042.h input: i8042: Provide feature to disable keyboard before booting kernel 2012-10-19 15:25:43 -07:00
ide.h ide: Add printf format string for CONFIG_SYS_64BIT_LBA option 2012-10-22 08:29:55 -07:00
image.h treewide: include libfdt_env.h before fdt.h 2013-02-07 20:38:55 -05:00
input.h input: Add ANSI 3.64 escape sequence generation. 2012-10-19 15:25:44 -07:00
iomux.h stdio: constify "name" arg in public api 2010-12-09 10:24:09 +01:00
ioports.h
ipu_pixfmt.h i.MX video: struct fb_videomode can be const 2012-10-16 12:35:11 +02:00
key_matrix.h input: Allow key ghosting filter to be disabled 2012-10-15 11:54:04 -07:00
keyboard.h
kgdb.h Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
ks8721.h Add support for Eukrea CPUAT91 SBC 2009-10-13 06:17:35 -05:00
lattice.h Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
lcd.h lcd: add option for board specific splash screen preparation 2013-03-08 16:41:13 -05:00
lcdvideo.h
ld9040.h drivers: video: Add ld9040 video driver 2012-11-15 21:08:19 +09:00
led-display.h led_display: remove unused DISPLAY_MARK define 2010-10-21 22:25:04 +02:00
libata.h
libfdt_env.h libfdt_env.h: add fdt type definitions 2013-02-07 20:38:55 -05:00
libfdt.h libfdt: update from upstream dtc commit 142419e 2013-02-07 20:38:55 -05:00
libtizen.h create lib/tizen directory 2012-05-25 09:15:10 +02:00
linker_lists.h Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
linux_logo.h
lmb.h lmb: do not export anything without CONFIG_LMB 2012-06-19 22:35:10 +02:00
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h malloc: make malloc_bin_reloc static 2013-02-19 17:01:26 -05:00
mb862xx.h video: mb862xx: improve board-specific Lime configuration 2009-10-31 12:13:28 +01:00
mc9sdz60.h Add basic support for Freescale's mc9sdz60 2011-02-02 00:54:43 +01:00
mc13783.h mc13783.h: create and add regulator mode 0 and 1 2012-02-12 10:11:27 +01:00
mc13892.h MC13892: Add REGMODE0 bits definitions 2011-12-06 23:59:39 +01:00
mc34704.h pmic: Add support for mc34704 2012-10-26 16:28:07 +02:00
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
menu.h common, menu: show menu on startup if CONFIG_MENU_SHOW is defined 2012-02-12 10:11:24 +01:00
micrel.h net: phy: add support for Micrel's KSZ9021 2012-02-27 21:19:25 +01:00
mii_phy.h
miiphy.h net/miiphy/serial: drop duplicate "NAMESIZE" define 2012-03-18 20:11:22 +01:00
mk48t59.h
mmc.h mmc: add support for write protection 2013-03-08 16:41:13 -05:00
mpc5xx.h
mpc5xxx_sdma.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc5xxx.h mpc5xxx: add pci_mpc5xxx_init prototype to common header 2012-09-01 14:19:02 +02:00
mpc8xx_irq.h
mpc8xx.h
mpc83xx.h mpc83xx: add support for mpc8309 2012-10-23 15:23:26 -05:00
mpc85xx.h powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros 2011-09-29 19:01:04 -05:00
mpc86xx.h powerpc/mpc86xx: Disable translation for BAT setup 2011-10-09 17:57:54 -05:00
mpc106.h
mpc824x.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc8220.h
mpc8260_irq.h
mpc8260.h
mtd_node.h fdt_support: add partitions fixup in mtd node 2010-03-21 22:44:59 +01:00
mv88e6352.h net/phy: support the mv88e6352 switch 2012-09-27 12:21:56 -05:00
mvmfp.h gpio: Add Multi-Function-Pin configuration driver for Marvell SoCs 2010-12-16 23:02:43 +01:00
nand.h nand: Add torture feature 2012-11-26 15:41:29 -06:00
net.h net/: sparse fixes 2012-11-04 11:00:36 -07:00
netdev.h net: fec_mxc: get phydev before fec_probe 2013-01-28 06:57:51 +01:00
nios2-epcs.h
nios2-io.h
nios2-yanu.h nios2: Added support to YANU UART 2010-03-21 22:44:42 +01:00
nios2.h nios2: use builtin functions for control registers access 2012-11-10 19:45:58 +08:00
nomadik.h include/nomadik.h: add physical address for cldc 2010-01-27 21:23:23 +01:00
ns16550.h serial/ns16550: ns16550 has a different register layout on SOC_DA8XX 2012-09-01 14:58:10 +02:00
ns87308.h
onenand_uboot.h OneNAND: Add simple OneNAND SPL 2011-11-15 22:24:50 +01:00
os.h sandbox: Add a way of obtaining directory listings 2013-03-04 14:19:56 -05:00
part_efi.h gpt: The leXX_to_int() calls replaced with ones defined at <compiler.h> 2012-12-13 11:46:02 -07:00
part.h gpt: Support for GPT (GUID Partition Table) restoration 2012-12-13 11:46:02 -07:00
pc_keyb.h
pca953x.h
pca9564.h Prepare v2010.03-rc1 2010-03-12 23:06:04 +01:00
pca9698.h gpio: Adapt PCA9698 to standard GPIO API 2011-11-18 14:04:25 +01:00
pci_ids.h pci: update pci_ids.h with a few new entries 2012-09-02 14:18:52 +02:00
pci.h x86: gpio: Add GPIO driver for Intel ICH6 and later. 2012-12-06 14:30:38 -08:00
pcmcia.h PPC: remove dead boards (AMX860, c2mon, ETX094, IAD210, LANTEC, SCM) 2012-10-28 20:17:25 +01:00
phy.h phy: add phy_find_by_mask/phy_connect_dev 2013-01-28 06:57:50 +01:00
physmem.h Introduce arch_phys_memset which works like memset but on physical memory 2012-12-06 14:30:40 -08:00
post.h POST: add new memory regions test 2011-10-05 22:03:11 +02:00
ppc_asm.tmpl powerpc: fix wrong comment at GOT definitions 2010-06-29 23:03:40 +02:00
ppc_defs.h
ps2mult.h
pwm.h ARM: S5P: pwm driver support 2011-03-27 19:19:54 +02:00
radeon.h
reiserfs.h cmd_reiser: use common get_device_and_partition function 2012-09-25 14:49:18 -07:00
rtc.h Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
s6e63d6.h
s_record.h
SA-1100.h
sandboxfs.h sandbox: Add host filesystem 2013-03-04 14:19:56 -05:00
sata.h sata.h: Make all sata/ata drivers include <sata.h> 2012-10-15 11:54:03 -07:00
scsi.h ahci: Make the AHCI code find the capacity of disks > 128 GB properly 2012-11-02 15:20:41 -07:00
sdhci.h mmc: add no simultaenous power and vdd 2012-11-27 17:26:48 -06:00
search.h env: Add environment variable flags 2012-12-13 11:46:56 -07:00
sed156x.h
sed13806.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
serial.h Tegra30: Add generic Tegra30 build support 2013-01-16 13:40:08 -07:00
sh_pfc.h sh: Add support pin function control using GPIO 2012-08-08 10:24:41 +09:00
sh_tmu.h arm: rmobile: Add support TMU base timer function 2012-10-03 02:04:24 +02:00
sha1.h sha1: Use const where possible, and unsigned for input len 2012-12-11 13:17:33 -07:00
sha256.h sha256: Use const where possible and add watchdog function 2012-12-11 13:17:33 -07:00
sja1000.h Add minimal SJA1000 header for basic CAN mode 2009-11-17 13:19:58 +01:00
sm501.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
smiLynxEM.h
sound.h Sound: Add FDT support to driver 2013-01-08 10:54:33 +09:00
spartan2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
spartan3.h fpga: add definition for Xilinx Spartan-6 XC6SLX4 2012-01-05 16:18:30 +01:00
spd_sdram.h
spd.h
spi_flash.h sf: Add spi_boot() to allow booting from SPI flash in an SPL 2011-12-24 10:23:30 +01:00
spi.h powerpc: eSPI and eSPI controller support 2011-04-29 07:34:09 -05:00
spl.h SPL: ONENAND: Support SPL to boot u-boot from OneNAND. 2013-03-11 11:05:49 -04:00
status_led.h nios2: remove asm/status_led.h 2012-11-10 19:45:58 +08:00
stdio_dev.h serial: arm_dcc: Remove CONFIG_ARM_DCC_MULTI option 2013-02-04 09:14:21 -05:00
stratixII.h fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
sym53c8xx.h
systemace.h
tegra-kbc.h tegra: Add tegra keyboard driver 2012-05-15 08:31:40 +02:00
timestamp.h Move timestamp and version files into 'generated' subdir 2011-10-17 23:57:00 +02:00
tpm.h Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
tps6586x.h i2c: Add TPS6586X driver 2012-05-15 08:31:37 +02:00
tsec.h tsec: Fix MDIO on devices with eTSEC2 2011-04-29 07:32:48 -05:00
tsi108.h
tsi148.h Add support for the Tundra TSI148 VME-bridge 2009-07-19 11:21:08 +02:00
twl4030.h twl4030: add gpio register offsets 2012-12-20 17:04:21 +01:00
twl6030.h mmc: omap: config VMMC, MMC1_PBIAS 2011-09-30 22:00:55 +02:00
twl6035.h power: twl6035: complain on LDO9 error 2012-12-10 12:45:35 -07:00
tws.h
ubi_uboot.h common: move BUILD_BUG_ON define to common.h 2011-07-27 23:45:37 +02:00
universe.h
usb_cdc_acm.h
usb_defs.h usb: use linux/usb/ch9.h instead of usbdescriptors.h 2012-11-20 00:16:06 +01:00
usb_ether.h net: introduce transparent driver private in ueth_data 2012-09-26 12:36:29 -05:00
usb.h usb: Clean up newly allocated device nodes in case of configuration failure 2012-12-17 15:38:15 +01:00
usbdescriptors.h Enable high speed support for USB device framework and usbtty 2012-03-28 16:31:08 +02:00
usbdevice.h Enable high speed support for USB device framework and usbtty 2012-03-28 16:31:08 +02:00
version.h Move timestamp and version files into 'generated' subdir 2011-10-17 23:57:00 +02:00
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h
video_fb.h video: cleanup comments in cfb_console.c and video_fb.h 2010-07-17 00:05:14 +02:00
video_font_data.h font: split font data from video_font.h 2011-11-15 23:58:26 +01:00
video_font.h font: split font data from video_font.h 2011-11-15 23:58:26 +01:00
video_logo.h
video.h video: Provide an API to access video parameters 2012-11-06 22:57:32 +01:00
virtex2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
vsc7385.h
vsprintf.h vsprintf: Move function documentation into header file 2011-12-17 23:34:01 +01:00
vxworks.h ppc4xx: Remove IOP480 support 2012-10-15 11:53:59 -07:00
w83c553f.h
watchdog.h watchdog.h: Move hw_watchdog_init prototype to end, guard 2013-01-14 13:10:07 -07:00
xilinx.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
xyzModem.h
zfs_common.h cmd_zfs: use common get_device_and_partition function 2012-09-25 14:49:17 -07:00