]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: pci: Create a new sandbox_pci_read_bar() function
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:42 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:48 +0000 (13:57 +0800)
commitf95e46fd4a639b0fba5929e6ae28b7e64b6632cc
treef434a546d0cc97e9cad48f59e54902d1307fad24
parentd07807d0b0d3f59fb8f98155f2421d23d9f2af24
sandbox: pci: Create a new sandbox_pci_read_bar() function

The code in swapcase can be used by other sandbox drivers. Move it into a
common place to allow this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: remove inclusion of <asm/test.h> in pci_sandbox.c]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/include/asm/test.h
drivers/misc/Makefile
drivers/misc/swap_case.c
drivers/pci/pci-emul-uclass.c