diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-26 19:51:26 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-12-01 06:26:37 -0700 |
commit | 72ef5b608cae42c7699c3488dd7465bd8f573acc (patch) | |
tree | 832245abe91e27414c478b286cdd3a53e2576cdb /common/cmd_bootldr.c | |
parent | c2be0700725fa3af5c6c925df8762acbd0a73883 (diff) |
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/cmd_bootldr.c')
0 files changed, 0 insertions, 0 deletions