[U-Boot] [PATCH 09/69] pci: Add functions to update PCI configuration registers

Bin Meng bmeng.cn at gmail.com
Fri Mar 11 04:46:01 CET 2016


On Mon, Mar 7, 2016 at 10:27 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  drivers/pci/pci-uclass.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++
>  include/pci.h            | 23 +++++++++++++++++++
>  2 files changed, 80 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list