[U-Boot] [PATCH 3/4 v3] test: dm: Add a test for PCI Enhanced Allocation
Simon Glass
sjg at chromium.org
Fri Jun 28 13:55:10 UTC 2019
On Fri, 7 Jun 2019 at 02:24, Alex Marginean <alexm.osslist at gmail.com> wrote:
>
> This test is built on top of the existing swap_case driver. It adds EA
> capability structure support to swap_case and uses that to map BARs.
> BAR1 works as it used to, swapping upper/lower case. BARs 2,4 map to a
> couple of magic values.
>
> Signed-off-by: Alex Marginean <alexm.osslist at gmail.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Tested-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v2:
> - new patch, v1 didn't have a test
> Changes in v3:
> - renamed sandbox_swap_use_ea function for consistency
> - fixed several typos and styling issues
>
> arch/sandbox/dts/test.dts | 8 +++
> arch/sandbox/include/asm/test.h | 13 ++++
> drivers/misc/swap_case.c | 102 +++++++++++++++++++++++++++++++-
> test/dm/pci.c | 49 +++++++++++++++
> 4 files changed, 171 insertions(+), 1 deletion(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list