u-boot/arch/arm
Vincent Fazio 0a36afa823 arm: rpi: fallback to max clock rate for MMC clock
In rpi-firmware 25e2b597ebfb2495eab4816a276758dcc6ea21f1,
the GET_CLOCK_RATE mailbox property was changed to return the last
value set by SET_CLOCK_RATE.

https://github.com/raspberrypi/firmware/issues/1619#issuecomment-917025502

Due to this change in firmware behavior, bcm2835_get_mmc_clock now
returns a clock rate of zero since we do not issue SET_CLOCK_RATE.
This results in degraded MMC performance.

SET_CLOCK_RATE fixes the clock to a specific value and disables scaling
so is not an ideal solution.

Instead, fallback to GET_MAX_CLOCK_RATE in bcm2835_get_mmc_clock if
GET_CLOCK_RATE returns zero.

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2023-03-24 14:43:20 +00:00
..
cpu Correct SPL use of SYS_FSL_ERRATUM_A010539 2023-02-10 07:41:40 -05:00
dts ARM: dts: renesas: Enable sysinfo on R-Car D3 Draak 2023-03-10 17:46:09 +01:00
include arm: rockchip: Add RK3588 arch core support 2023-02-28 18:07:28 +08:00
lib Correct SPL uses of SAVE_PREV_BL_INITRAMFS_START_ADDR 2023-02-10 07:41:40 -05:00
mach-apple Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
mach-aspeed global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
mach-at91 global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00
mach-bcm283x arm: rpi: fallback to max clock rate for MMC clock 2023-03-24 14:43:20 +00:00
mach-bcmbca timer: bcmbca: use arm global timer for bcm63138 SoC 2022-10-31 08:56:00 -04:00
mach-bcmstb
mach-cortina
mach-davinci global: Migrate CONFIG_MAX_RAM_BANK_SIZE to CFG 2022-12-23 10:14:51 -05:00
mach-exynos Correct SPL use of EXYNOS7420 2023-02-09 16:32:26 -05:00
mach-highbank
mach-hpe
mach-imx configs: imx8m: Prepare imx8m-beacon boards for HAB support 2023-01-31 18:08:23 +01:00
mach-integrator
mach-ipq40xx Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
mach-k3 arch: mach-k3: Update board specific API name to K3 generic API name 2023-01-27 12:51:27 -05:00
mach-keystone global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
mach-kirkwood arm: kirkwood: Use CONFIG_SYS_NS16550 with DM_SERIAL for Kirkwood boards 2023-02-13 10:14:50 +01:00
mach-lpc32xx arm: lpc32xx: Remove unused hsuart driver 2022-12-05 16:07:13 -05:00
mach-mediatek global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
mach-meson ARM: meson: switch AXG & GX dwc2 otg to DM 2023-01-20 16:21:31 +01:00
mach-mvebu arm: mvebu: Add support for Synology DS116 (Armada 385) 2023-02-13 10:14:50 +01:00
mach-nexell arm: s5p4418: dm_serial: remove old code / add DEBUG_UART 2023-01-02 16:06:08 -05:00
mach-npcm global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
mach-octeontx Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
mach-octeontx2 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
mach-omap2 global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
mach-orion5x global: Migrate CONFIG_MAX_RAM_BANK_SIZE to CFG 2022-12-23 10:14:51 -05:00
mach-owl global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
mach-qemu
mach-rmobile rmobile: Drop unused ehci-rmobile driver 2023-02-07 14:33:50 -05:00
mach-rockchip board: rockchip: add Radxa ROCK5B Rk3588 board 2023-02-28 18:07:29 +08:00
mach-s5pc1xx exynos: Rework legacy PWM usage 2022-12-23 10:07:03 -05:00
mach-snapdragon clocks: qcs404: Add support for I2C clocks 2023-02-13 10:01:52 -05:00
mach-socfpga Use grep -E or plain grep instead of egrep 2023-01-11 15:02:24 -05:00
mach-sti
mach-stm32
mach-stm32mp Correct SPL use of STM32MP15X_STM32IMAGE 2023-02-10 07:41:40 -05:00
mach-sunxi sunxi: eMMC: support TOC0 on boot partitions 2023-01-23 01:18:23 +00:00
mach-tegra ARM: tegra20: implement BCT patching 2023-02-23 12:55:37 -07:00
mach-u8500 global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
mach-uniphier arm: uniphier: use DM_TIMER of arm a9 global timer 2023-01-02 16:01:39 -05:00
mach-versal
mach-versal-net xilinx: versal-net: Add support for timer and start it 2023-01-16 15:34:37 +01:00
mach-versatile global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
mach-zynq global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
mach-zynqmp arm64: zynqmp: Do not include psu_init to U-Boot by default 2022-12-05 08:55:55 +01:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig 2022-12-22 10:31:48 -05:00
Kconfig ARM: tegra: include timer as default option 2023-02-02 10:16:41 -07:00
Kconfig.debug
Makefile arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00