summaryrefslogtreecommitdiff
path: root/doc/develop/bootstd/extlinux.rst
diff options
context:
space:
mode:
authorOmar Ivan Fardjoume <[email protected]>2026-05-26 18:28:59 -0300
committerAndre Przywara <[email protected]>2026-07-26 22:31:22 +0200
commitc83594e844931ac2db1da19597119c2309b88f2c (patch)
tree2a0ffaba24d4505dfc417b85bc2594b3587d958c /doc/develop/bootstd/extlinux.rst
parentb635d43bca429500cb8ef20aa151cb5773b9a8a5 (diff)
mmc: sunxi: fix MACH_SUN9I typo in get_mclk_offset()
The get_mclk_offset() function used the non-existent Kconfig symbol CONFIG_MACH_SUN9I_A80 instead of CONFIG_MACH_SUN9I, causing the MMC2 clock register to be written at 0x06000090 instead of 0x06000418. This corrupted the CMD2 response and made eMMC completely unresponsive. Also the legacy (SPL) sunxi_mmc_init() did not include CONFIG_MACH_SUN9I in the 8-bit bus width condition, so MMC2 (eMMC) would only use 4-bit mode in the SPL, which is insufficient for reliable boot. Tested on a Cubieboard4 A80: with both fixes, SPL loads U-Boot proper and boots Debian 12 from eMMC with no SD card present. Signed-off-by: Omar Ivan Fardjoume <[email protected]> [Andre: fix mangled patch, trim commit message] Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/extlinux.rst')
0 files changed, 0 insertions, 0 deletions