From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 28 Jun 2019 07:55:10 -0600 Subject: [U-Boot] [PATCH 3/4 v3] test: dm: Add a test for PCI Enhanced Allocation In-Reply-To: <20190607082425.29204-3-alexm.osslist@gmail.com> References: <20190607082425.29204-1-alexm.osslist@gmail.com> <20190607082425.29204-3-alexm.osslist@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 7 Jun 2019 at 02:24, Alex Marginean 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 > Reviewed-by: Bin Meng > Tested-by: Bin Meng > --- > > 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!