u-boot/include
Marek Vasut 145429aac0 mmc: Add option to adjust b_max before long read
Add getter function which permits adjusting the maximum number of
blocks that could be read in a single sustained read transfer based
on the location of the source/target buffer and length, before such
transfer starts.

This is mainly useful on systems which have various DMA restrictions
for different memory locations, e.g. DMA limited to 32bit addresses,
and where a bounce buffer is used to work around such restrictions.
Since the U-Boot bounce buffer is mallocated, it's size is limited
by the malloc area size, and the read transfer to such a buffer must
also be limited. However, as not all areas are limited equally, the
b_max should be adjusted accordinly as needed to avoid degrading
performance unnecessarily.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
2020-04-22 20:41:56 +08:00
..
acpi acpi: Add support for DMAR 2020-04-16 14:36:28 +08:00
andestech
asm-generic gpio: add ops to set dir flags 2020-04-16 23:06:54 -04:00
bedbug
cavium
configs ARM: rmobile: Increase malloc area size 2020-04-22 20:41:56 +08:00
cramfs
crypto lib: crypto: add pkcs7 message parser 2019-12-06 16:44:20 -05:00
dm dm: core: add ofnode and dev function to iterate on node property 2020-04-16 23:06:54 -04:00
dt-bindings Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx 2020-04-20 08:45:27 -04:00
environment/ti env: ti: boot: Fix Android boot on AM57x EVM 2020-03-03 13:08:14 +05:30
faraday
fsl-mc drivers/fsl-mc: Support DPSPARSER object and apply spb command 2019-12-26 16:00:20 +05:30
jffs2
keys lib: crypto: add public key utility 2019-12-06 16:44:20 -05:00
linux Merge branch 'next' of git://git.denx.de/u-boot-usb into next 2020-03-31 17:24:19 -04:00
lzma
mtd
mvebu
net phy: Add support for the NC-SI protocol 2020-03-09 18:11:23 -05:00
power ram: stm32mp1: increase vdd2_ddr: buck2 for 32bits LPDDR 2020-03-24 14:20:50 +01:00
samsung
spmi
synopsys
tee
test Functions for reading indexed values from device tree 2020-04-16 13:45:03 -04:00
u-boot lib: rsa: generate additional parameters for public key 2020-03-12 08:20:39 -04:00
usb
zfs
.gitignore
ACEX1K.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
SA-1100.h
_exports.h
adc.h
addr_map.h
ahci.h
ali512x.h
altera.h
android_ab.h
android_bootloader_message.h
android_image.h
ansi.h
api.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atf_common.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h
audio_codec.h
autoboot.h
avb_verify.h
axi.h
axp152.h
axp209.h
axp221.h
axp809.h
axp818.h
axp_pmic.h
backlight.h
bcd.h
binman.h binman: Add a library to access binman entries 2019-12-15 08:48:33 +08:00
binman_sym.h
bios_emul.h
bitfield.h
blk.h common: blk: fix comment about blkcache_read return value 2020-01-25 12:04:36 -05:00
bloblist.h bloblist: Tidy up a few comments and code-style nits 2020-02-05 19:33:46 -07:00
bmp_layout.h
board.h include: board: provide empty stubs when the BOARD option is not selected 2020-01-07 11:13:24 -05:00
boot_fit.h
bootcount.h common: Move bootcount functions to their header file 2019-12-02 18:23:08 -05:00
bootm.h
bootretry.h
bootstage.h x86: fsp: Add FSP2 base support 2019-12-15 11:44:16 +08:00
bouncebuf.h common: bouncebuf: Permit passing custom alignment check function 2020-04-22 20:41:56 +08:00
btrfs.h
bus_vcxk.h
bzlib.h
cache.h
capitalization.h
cbfs.h
charset.h
circbuf.h
cli.h
cli_hush.h
clk-uclass.h clk: Rename free() to rfree() 2020-02-05 19:33:46 -07:00
clk.h clk: add APIs to get (optional) clock by name without a device 2020-01-16 09:39:45 -05:00
clock_legacy.h common: Move clock functions into a new file 2020-01-24 23:06:48 +05:30
cmd_spl.h
command.h common: Move command functions out of common.h 2019-12-02 18:25:02 -05:00
common.h common: Update comment to show progress 2020-01-24 23:06:49 +05:30
common_timing_params.h
compiler.h common: Move and rename CONFIG_SYS_SUPPORT_64BIT_DATA 2020-01-24 23:06:49 +05:30
config_defaults.h
config_distro_bootcmd.h
config_fallbacks.h
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
console.h console: Add a function to read a line of the output / eof 2020-02-05 19:33:46 -07:00
cortina.h
cp437.h
cp1250.h
cpsw.h
cpu.h cpu: Support querying the address width 2020-04-16 14:36:28 +08:00
cpu_func.h common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
cros_ec.h
cros_ec_message.h
ddr_spd.h
debug_uart.h debug_uart.h: make <debug_uart.h> self-contained 2020-03-16 16:42:50 -04:00
dfu.h dfu: Add optional timeout parameter 2020-01-07 14:37:50 +01:00
dialog_pmic.h
display.h
display_options.h
div64.h
dm-demo.h
dm.h
dm9000.h
dma-uclass.h dma: Rename free() to rfree() 2020-02-05 19:33:46 -07:00
dma.h dma: Add stub of dma_memcpy and dma_get_device 2020-01-15 19:50:31 -05:00
dp83848.h
ds1722.h
dsi_host.h
dt-structs.h
dt_table.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-sti-glue.h
dwc3-uboot.h
dwc_ahsata.h
dwmmc.h
e500.h powerpc/mpc85xx: drop eSDHC periperhal clock code 2020-01-16 13:16:25 +08:00
ec_commands.h
edid.h
eeprom.h common: Move CONFIG_SYS_DEF_EEPROM_ADDR out of common.h 2020-01-24 23:06:48 +05:30
eeprom_field.h
eeprom_layout.h
efi.h efi_loader: define all known warning status codes 2020-01-07 18:08:20 +01:00
efi_api.h efi_loader: add signature verification functions 2020-04-16 08:12:46 +02:00
efi_driver.h
efi_load_initrd.h efi_loader: Implement FileLoad2 for initramfs loading 2020-02-28 19:37:14 +01:00
efi_loader.h efi_loader: image_loader: support image authentication 2020-04-16 08:12:46 +02:00
efi_rng.h efi: qemu: arm64: Add efi_rng_protocol implementation for the platform 2020-01-07 18:08:22 +01:00
efi_selftest.h
elf.h lib: elf: Move the generic elf loading/validating functions to lib 2020-03-03 13:08:14 +05:30
env.h cmd: Migrate from_env() from pxe.c to nvedit.c 2019-12-06 16:44:18 -05:00
env_attr.h
env_callback.h
env_default.h
env_flags.h
env_internal.h
errno.h
ethsw.h
exception.h
exports.h common: Move jumptable_init() out of common.h 2020-01-24 23:06:48 +05:30
ext4fs.h
ext_common.h
exynos_lcd.h
fastboot-internal.h
fastboot.h
fat.h
fb_mmc.h
fb_nand.h
fdt.h
fdt_simplefb.h
fdt_support.h common: Move device-tree setup functions to fdt_support.h 2020-01-24 23:06:48 +05:30
fdtdec.h dm: pci: Update a few more interfaces for const udevice * 2020-02-05 19:33:45 -07:00
fis.h
flash.h common: Move flash_perror() to flash.h 2020-01-24 23:06:47 +05:30
fm_eth.h
fpga.h
fs.h common: Move functions for loading from fat/ext2 to fs.h 2020-01-24 23:06:48 +05:30
fs_internal.h
fs_loader.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h
fsl_esdhc_imx.h
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_lpuart.h serial_lpuart: add support for i.MXRT 2020-01-14 22:54:00 +01:00
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h
fsl_sec.h
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h fsl: fix typo in header file 2020-01-20 15:38:16 +01:00
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h
generic-phy.h generic-phy: add generic_phy_get_by_node() 2020-04-20 14:19:10 +02:00
gt64120.h
gzip.h
handoff.h
hang.h common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
hash.h
hda_codec.h
hexdump.h
host_arch.h
hw_sha.h
hwconfig.h
hwspinlock.h
i2c.h i2c: Add option to send start condition after deblocking 2020-03-16 07:46:21 +01:00
i2c_eeprom.h misc: i2c_eeprom: remove pagewidth field from i2c_eeprom 2020-03-16 08:03:05 +01:00
i2s.h
i8042.h
ide.h
image-android-dt.h
image-sparse.h
image.h Xilinx changes for v2020.07 2020-04-07 17:13:35 -04:00
imx8image.h
imx_lpi2c.h
imx_sip.h
imx_thermal.h
imximage.h imx: fix typo in header file 2020-01-20 15:38:16 +01:00
init.h common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
irq.h dm: irq: Add support for requesting interrupts 2020-02-07 22:46:32 +08:00
irq_func.h common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
k3-avs.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led.h
libata.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
log.h Functions for reading indexed values from device tree 2020-04-16 13:45:03 -04:00
lxt971a.h
lynxkdi.h
lz4.h common: Add a new lz4.h header file 2019-12-02 18:23:11 -05:00
mailbox-uclass.h mailbox: Rename free() to rfree() 2020-02-05 19:33:46 -07:00
mailbox.h
malloc.h sandbox: Use a prefix for all allocation functions 2020-02-05 19:33:46 -07:00
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
media_bus_format.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h net: mdio-uclass: add dm_eth_phy_connect helper function 2019-12-09 09:47:43 -06:00
mipi_display.h
mipi_dsi.h
misc.h
mk48t59.h
mmc.h mmc: Add option to adjust b_max before long read 2020-04-22 20:41:56 +08:00
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h
mtd.h mtd: add prototypes for weak function 2020-01-25 12:04:36 -05:00
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
mxs_nand.h
nand.h
net.h phy: Add support for the NC-SI protocol 2020-03-09 18:11:23 -05:00
netdev.h
ns16550.h serial: ns16550: Support run-time configuration 2020-02-04 01:19:13 +08:00
nuvoton_nct6102d.h
nvme.h
of_live.h
onenand_uboot.h
opensbi.h spl: opensbi: specify main hart as preferred boot hart 2019-12-10 08:23:10 +08:00
os.h sandbox: Drop os_realloc() 2020-02-05 19:33:46 -07:00
p2sb.h pci: Add support for p2sb uclass 2019-12-15 11:44:11 +08:00
palmas.h
panel.h
part.h
part_efi.h part: efi: comment for GPT_HEADER_SIGNATURE_UBOOT 2020-01-07 18:08:20 +01:00
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h pci: definition of pci_addr_t and pci_size_t 2020-02-13 10:10:50 -05:00
pci_ep.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pci_tegra.h
pe.h include: pe.h: add signature-related definitions 2020-01-07 18:08:19 +01:00
phy-sun4i-usb.h
phy.h net: phy: add XFI, USXGMII types to is_10g_interface() helper 2020-03-09 18:11:25 -05:00
phy_interface.h phy: Include NC-SI in phy setup 2020-03-09 18:11:23 -05:00
phys2bus.h
physmem.h
post.h
power-domain-uclass.h power-domain: Rename free() to rfree() 2020-02-05 19:33:46 -07:00
power-domain.h
ppc_asm.tmpl
ppc_defs.h
pwm.h
pwrseq.h
pxa_lcd.h
qfw.h x86: Move qemu CPU fixup function into its own file 2019-12-15 11:44:25 +08:00
radeon.h
ram.h
rand.h
rc4.h
regmap.h
reiserfs.h
relocate.h
remoteproc.h remoteproc: elf_loader: Add elf resource table load support 2020-01-07 11:13:25 -05:00
reset-uclass.h reset: Rename free() to rfree() 2020-02-05 19:33:46 -07:00
reset.h
rng.h dm: rng: Add random number generator(rng) uclass 2020-01-07 18:08:21 +01:00
rtc.h rtc.h: add struct udevice declaration 2019-12-06 16:44:19 -05:00
rtc_def.h
s_record.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandbox-clk.h
sandboxblockdev.h
sandboxfs.h
sandboxtee.h
sata.h
scf0403_lcd.h
scsi.h
sdhci.h sdhci: Add sdhci_deferred_probe() API 2020-03-09 08:33:16 +08:00
sdp.h
search.h
serial.h dm: serial: Add clock member to struct serial_device_info 2020-04-16 14:36:28 +08:00
sh_pfc.h
sja1000.h
slre.h
smbios.h
smem.h
smsc_lpc47m.h
smsc_sio1007.h
sort.h common: Move sorting functions to their own header file 2019-12-02 18:23:08 -05:00
sound.h sound: Add a new stop_play() method 2020-02-05 19:33:46 -07:00
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi-mem.h
spi.h spi: Add SPI mode enums 2020-04-16 14:36:28 +08:00
spi_flash.h mtd: spi: Export spi_flash_std_probe() 2019-12-15 11:44:24 +08:00
spl.h spl.h: make <spl.h> self-contained 2020-03-16 16:42:50 -04:00
spl_gpio.h
splash.h
st_logo_data.h
status_led.h
stdint.h
stdio.h
stdio_dev.h
stdlib.h
stm32_rcc.h
stratixII.h
string.h
sy8106a.h
sym53c8xx.h
syscon.h
sysreset.h
tables_csum.h
tca642x.h
tee.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h common: Move get_tbclk() to time.h 2020-01-24 23:06:49 +05:30
timer.h
timestamp.h
tlv_eeprom.h cmd: add tlv_eeprom command 2020-01-21 15:56:15 +01:00
tmu.h
tpm-common.h tpm: add a helper to iterate on all tpm devices 2020-02-05 19:33:46 -07:00
tpm-v1.h
tpm-v2.h tpm: Add more TPM2 definitions 2020-02-07 22:46:35 +08:00
tps6586x.h
trace.h
tsec.h
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h aes: add support of aes192 and aes256 2020-01-17 10:15:49 -05:00
ufs.h
universe.h
usb.h usb: Keep async schedule running only across mass storage xfers 2020-04-09 15:26:59 -04:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
versalpl.h
version.h
video.h video: meson: Drop unnecessary header includes 2020-01-07 11:15:24 +01:00
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_osd.h
virtex2.h
virtio.h virtio: rng: Add a random number generator(rng) driver 2020-01-07 18:08:21 +01:00
virtio_ring.h
virtio_types.h
vsc7385.h
vsc9953.h
vsprintf.h Move strtomhz() to vsprintf.h 2019-12-02 18:23:09 -05:00
vxworks.h bootm: vxworks: Support Linux compatible standard DTB for ARM and PPC 2019-12-03 08:43:23 -05:00
w1-eeprom.h
w1.h
w83c553f.h
wait_bit.h
watchdog.h
wdt.h watchdog: move initr_watchdog() to wdt-uclass.c 2020-04-15 08:53:55 +02:00
winbond_w83627.h
xilinx.h
xyzModem.h
zfs_common.h
zynq_bootimg.h
zynqmp_firmware.h
zynqmp_tap_delay.h
zynqmppl.h
zynqpl.h