commit | b6e79b6f87db98ec87ed18f77eef68e77ec91188 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Aug 22 07:54:59 2024 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 23 15:58:41 2024 -0600 |
tree | 1b052706860e20f05d16afdd4cc568ccdb719f5f | |
parent | 1f475cd3e352c682bd63d3c0d17fbf0f497b3972 [diff] |
spl: mmc: Adjust args of spl_mmc_find_device() At present spl_mmc_load() is the only caller of this function, passing it a boot_device, an index into the available MMC devices. Pass the device number instead, since it is known by the caller and simplifies the code. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>