arm-trusted-firmware/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 refactor(allwinner): use fdt_node_is_enabled() in AXP driver 2023-02-03 13:31:28 +00:00
amlogic refactor(libc): clean up dependencies in libc 2022-09-22 13:23:49 +02:00
arm feat(ethos-n): add separate RO and RW NSAIDs 2023-04-04 11:37:55 +02:00
auth style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
brcm fix(brcm): add braces around bodies of conditionals 2022-12-01 16:17:34 +00:00
cadence/uart/aarch64
cfi/v2m
clk feat(clk): add a minimal clock framework 2021-12-22 13:07:23 +01:00
console fix(console): correct scopes for console symbols 2023-01-10 18:59:58 +01:00
coreboot/cbmem_console/aarch64
delay_timer
fwu fix(fwu): rename is_fwu_initialized 2022-03-28 09:10:11 +02:00
gpio
imx fix: unify fallthrough annotations 2022-12-01 16:17:24 +00:00
intel/soc/stratix10/io
io fix(io): compare function pointers with NULL 2023-01-10 18:59:58 +01:00
marvell refactor(drivers/marvell/comphy-3700): rename Clock Source Low value constants 2021-12-09 01:29:13 +01:00
measured_boot refactor(measured-boot): accept metadata as a function's argument 2022-11-22 10:06:56 +00:00
mentor/i2c
mmc fix(mmc): remove redundant reset_to_idle call 2023-03-01 17:23:49 +01:00
mtd feat(mtd): add platform function to allow using external buffer 2022-08-30 09:20:20 +02:00
nxp fix(nxp-drivers): use semicolon instead of comma 2023-03-16 07:43:11 +02:00
partition fix(partition): add missing curly braces 2022-12-07 14:16:48 +01:00
rambus
renesas fix(renesas): align incompatible function pointers 2022-12-01 16:17:34 +00:00
rpi3 fix(rpi3): initialize SD card host controller 2023-04-13 10:29:51 +01:00
scmi-msg fix(scmi): fix compilation error in scmi base 2023-03-21 13:48:42 +01:00
st Merge changes from topic "deprecate_io_drivers" into integration 2023-01-16 16:45:37 +01:00
synopsys
ti/uart
ufs feat(ufs): adds timeout and error handling 2023-03-15 09:53:12 +00:00
usb fix(usb): correct type in message 2022-02-15 18:09:51 +01:00