commit | 1d8193cde73923744065e6900e26385a9eff353b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 26 19:51:26 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Dec 01 06:26:37 2015 -0700 |
tree | 832245abe91e27414c478b286cdd3a53e2576cdb | |
parent | 8743ea540f02cb2e875af4e0f9582d8ac16d4364 [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>