commit | e8a552eb625f0b2d7a778d151af25a17c6d33b7b | [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 | b6b4a0ec5550cf5e45e9b0b3527db63464e4c3d8 [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>