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 /include/thermal.h | |
parent | c2be0700725fa3af5c6c925df8762acbd0a73883 (diff) | |
download | u-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 'include/thermal.h')
0 files changed, 0 insertions, 0 deletions