]> git.dujemihanovic.xyz Git - u-boot.git/commit
pytest: add sandbox test for "extension" command
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 4 May 2021 17:31:23 +0000 (19:31 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 May 2021 17:09:09 +0000 (13:09 -0400)
commit95300f203f3249ffb7a08222dc4d8106c5a6ceeb
treea26fd939eccb3eca623057083a4758507041520b
parent2f84e9cf06d31aa703ff31301bf811b3fcfc16cf
pytest: add sandbox test for "extension" command

This commit extends the sandbox to implement a dummy
extension_board_scan() function and enables the extension command in
the sandbox configuration. It then adds a test that checks the proper
functionality of the extension command by applying two Device Tree
overlays to the sandbox Device Tree.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
[trini: Limit to running on sandbox]
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/Kconfig
arch/sandbox/dts/Makefile
arch/sandbox/dts/overlay0.dts [new file with mode: 0644]
arch/sandbox/dts/overlay1.dts [new file with mode: 0644]
board/sandbox/sandbox.c
test/py/tests/test_extension.py [new file with mode: 0644]