commit | 319dba1f4d7bf2c82be1c5b0858c4b1c3d8b4cfe | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Mar 06 19:27:52 2016 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Mar 17 10:27:23 2016 +0800 |
tree | 6eaaacf60a8d96c7f46215d06a2fbf62ada3b311 | |
parent | 17c43f1a42135cdca28991658615323c2ca92e37 [diff] |
pci: Add functions to update PCI configuration registers It is common to read a config register value, clear and set some bits, then write back the updated value. Add functions to do this in one step, for convenience. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>