arm-trusted-firmware/include/drivers
Rob Newberry bd96d533dc fix(rpi3): initialize SD card host controller
Add initial configuration parameters for Rasperry Pi 3's sdhost
controller, and then configure and use those parameters.

This change allows warm reboots of UEFI on Raspberry Pi 3B+ where
existing code often fails with "unknown error". See discussion at:

https://github.com/pftf/RPi3/issues/24

The basic idea is that some initial configuration parameters
(clock rate, bus width) aren't configured into the hardware before
commands start being sent. I suspect that the particular setting
that matters is the "slow card" bit, but the initial clock setting
also seemed wrong to me.

Change-Id: I526def340def143f23f3422f1fc14c12c937ca7f
Signed-off-by: Rob Newberry <robthedude@mac.com>
2023-04-13 10:29:51 +01:00
..
allwinner feat(allwinner): allow to skip PMIC regulator setup 2021-12-27 15:32:22 +00:00
amlogic meson: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
arm feat(ethos-n)!: add protected NPU firmware setup 2023-04-04 11:37:49 +02:00
auth feat(mbedtls): add support for mbedtls-3.3 2023-02-21 11:09:47 +00:00
brcm Merge "driver: brcm: add USB driver" into integration 2021-04-12 16:44:11 +02:00
cadence cadence: Change logic in uart driver 2021-01-11 17:28:00 +00:00
cfi Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
coreboot coreboot: Use generic base address 2020-02-25 09:34:38 +00:00
fwu feat(fwu): add a function to pass metadata structure to platforms 2022-01-27 18:09:02 +05:30
io refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE 2022-11-14 14:14:48 +01:00
marvell fix(plat/marvell/a3720/uart): do external reset during initialization 2021-12-02 17:38:02 +01:00
measured_boot refactor(measured-boot): accept metadata as a function's argument 2022-11-22 10:06:56 +00:00
mentor Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
nxp style: fix functions definitions 2023-03-13 12:34:40 +01:00
partition fix(partition): add U suffix for unsigned numbers 2022-12-07 14:16:48 +01:00
rambus drivers/rambus: add TRNG-IP-76 driver 2021-02-11 09:43:18 +00:00
renesas/rcar/console rcar: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
rpi3 fix(rpi3): initialize SD card host controller 2023-04-13 10:29:51 +01:00
st refactor(st): remove unused io_mmc driver 2022-12-19 09:13:41 +01:00
synopsys drivers: synopsys: Fix synopsys MMC driver 2019-03-12 14:39:50 +08:00
ti/uart 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
clk.h feat(clk): add a minimal clock framework 2021-12-22 13:07:23 +01:00
console.h fix(console): correct scopes for console symbols 2023-01-10 18:59:58 +01:00
console_assertions.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
delay_timer.h delay: correct timeout_init_us() 2019-10-08 11:13:06 +02:00
dw_ufs.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
generic_delay_timer.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
gpio.h refactor(plat/rockchip/rk3399/drivers/gpio): reduce code duplication 2022-01-04 15:26:43 +01:00
mmc.h feat(mmc): get boot partition size 2022-09-07 09:36:48 +02:00
nand.h feat(mtd): add platform function to allow using external buffer 2022-08-30 09:20:20 +02:00
raw_nand.h nand: raw_nand: fix timeout issue in nand_wait_ready 2020-09-24 09:32:23 +02:00
scmi-msg.h style(docs): fix typo s/flase/false/ 2023-03-21 13:41:39 +01:00
scmi.h drivers: move scmi-msg out of st 2021-01-20 11:37:14 +08:00
spi_mem.h Add SPI-MEM framework 2020-01-20 11:32:59 +01:00
spi_nand.h Add SPI-NAND framework 2020-01-20 11:32:59 +01:00
spi_nor.h Add SPI-NOR framework 2020-01-20 11:32:59 +01:00
ufs.h feat(ufs): adds timeout and error handling 2023-03-15 09:53:12 +00:00
usb_device.h fix(drivers/usb): add a optional ops get_other_speed_config_desc 2021-11-05 11:28:59 +02:00