On Sat, Jul 08, 2023 at 12:54:38AM +0200, Pali Rohár wrote: > To make eMMC partition choosing in default_spl_mmc_emmc_boot_partition() > function better understandable, rewrite it via explicit switch-case code > pattern. > > Also indicate an error when eMMC EXT_CSD[179] register is configured by > user to value which is not suitable for eMMC booting and SPL do not know > how to interpret it. > > Signed-off-by: Pali Rohár <p...@kernel.org>
I did some quick local testing to check on the size impact and this is indeed quite manageable, thanks for reworking things! Reviewed-by: Tom Rini <tr...@konsulko.com> -- Tom
signature.asc
Description: PGP signature