[U-Boot] [PATCH v2 21/21] test: dm: pci: Add cases for finding PCI capability APIs

Simon Glass sjg at chromium.org
Thu Aug 2 20:38:55 UTC 2018


On 29 July 2018 at 07:37, Bin Meng <bmeng.cn at gmail.com> wrote:
> Add several PCI capability and extended capability ID registers
> in the swap_case driver, so that we can add test case for
> dm_pci_find_capability() and dm_pci_find_ext_capability().
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2: None
>
>  arch/sandbox/include/asm/test.h |  8 ++++++++
>  drivers/misc/swap_case.c        | 21 +++++++++++++++++++++
>  test/dm/pci.c                   | 32 ++++++++++++++++++++++++++++++++
>  3 files changed, 61 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list