diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-22 07:54:59 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-23 15:58:41 -0600 |
commit | c5cb9e548981ee969fb3b4c75dd09b835463295f (patch) | |
tree | 1b052706860e20f05d16afdd4cc568ccdb719f5f /drivers/ddr/imx/phy/ddrphy_utils.c | |
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>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions