]> git.baikalelectronics.ru Git - uboot.git/commit
test: dm: Add a test for PCI Enhanced Allocation
authorAlex Marginean <alexm.osslist@gmail.com>
Fri, 7 Jun 2019 08:24:24 +0000 (11:24 +0300)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit1c24af77a7ee75f7d1e6c6b0d61563824148cdeb
tree7619308eb2da99597e30de33845f4df4288c5d54
parentee0b6128b3c811403f1934fe9504220373a1f808
test: dm: Add a test for PCI Enhanced Allocation

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@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/test.h
drivers/misc/swap_case.c
test/dm/pci.c