aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-08-11 19:34:57 -0600
committerTom Rini <trini@konsulko.com>2022-09-16 11:05:16 -0400
commitbb2c9a30c23752accd53119d3964f6e6d1ae4f32 (patch)
tree9d80bc33ee8043fa50e6ea0ef8c9233f4ad170f3 /drivers/pci
parentb8f8f6c8702368a5e6bd6e58556c03d5f8e3f1c7 (diff)
downloadu-boot-bb2c9a30c23752accd53119d3964f6e6d1ae4f32.zip
u-boot-bb2c9a30c23752accd53119d3964f6e6d1ae4f32.tar.gz
u-boot-bb2c9a30c23752accd53119d3964f6e6d1ae4f32.tar.bz2
blk: Rewrite if_type to name functions
These are currently using a simple array lookup in one direction, and relying on if_type being sequential. With the move to uclass IDs this needs to change. Update the code to prepare for the new way. This patch is intended to introduce no functional change. The returning of "(none)" from blk_get_if_type_name() is handling a case that should not happen in either case. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions