commit | c5cb9e548981ee969fb3b4c75dd09b835463295f | [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 | 8a369de6ff1456efe60bc7ebefe3d323fece0a37 [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>