commit | 9cec2dfb03a269ba45d93c280c4066736f296edf | [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 | fd8389749464513988091f51ab59c1c0aeb164ee [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>