summaryrefslogtreecommitdiff
path: root/common/usb_storage.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-26 19:51:26 -0700
committerSimon Glass <sjg@chromium.org>2015-12-01 06:26:37 -0700
commit72ef5b608cae42c7699c3488dd7465bd8f573acc (patch)
tree832245abe91e27414c478b286cdd3a53e2576cdb /common/usb_storage.c
parentc2be0700725fa3af5c6c925df8762acbd0a73883 (diff)
downloadu-boot-imx-72ef5b608cae42c7699c3488dd7465bd8f573acc.zip
u-boot-imx-72ef5b608cae42c7699c3488dd7465bd8f573acc.tar.gz
u-boot-imx-72ef5b608cae42c7699c3488dd7465bd8f573acc.tar.bz2
pci: Use common functions to read/write config
Currently we use switch() and access PCI configuration via several functions, one for each data size. Adjust the code to use generic functions, where the data size is a parameter. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/usb_storage.c')
0 files changed, 0 insertions, 0 deletions