]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: test: Add test case for dev_phys_to_bus()/dev_bus_to_phys()
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Tue, 12 Jan 2021 12:55:27 +0000 (13:55 +0100)
committerMatthias Brugger <mbrugger@suse.com>
Thu, 18 Feb 2021 10:56:25 +0000 (11:56 +0100)
commit30b20e6b3f041d2a383d5a59303af21108afc1d7
tree4a59c0f2dc76cdd3414679d14e0bdb75298b8c8b
parent2a15a25c362bbeddf0c8e6fcfb142321076eb904
dm: test: Add test case for dev_phys_to_bus()/dev_bus_to_phys()

By reusing DT nodes already available in sandbox's test DT introduce a
test to validate dev_phys_to_bus()/dev_bus_to_phys().

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
test/dm/Makefile
test/dm/phys2bus.c [new file with mode: 0644]