commit | 6ac5af42ed5c2aad711f1b7859467ebea80b790b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Nov 14 18:18:30 2014 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Nov 25 06:34:00 2014 -0700 |
tree | 07c3af027137623dbb431e2b913d64e11cfc2fdd | |
parent | 1099fcc8a0fc4dd57894c1cf0210fec33871a05a [diff] |
pci: Add functions to read and write a BAR address Some PCI functions cannot be auto-configured. Add a function to set up a fixed BAR which can be used in these situations. Also add a function to read the current address of a BAR. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>