]> git.baikalelectronics.ru Git - uboot.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)
commit6e8c4bb5b76fd4c271fd8f997170143eb1a84a94
treea26fd939eccb3eca623057083a4758507041520b
parentdf8ed7996fb5dd59ebd7db15cc77801d3b125642
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]