]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: add dummy driver ETH_SANDBOX_LWIP
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 16 Oct 2024 09:56:24 +0000 (11:56 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 16 Oct 2024 17:11:56 +0000 (11:11 -0600)
commitce7005620626cbbba4ec933e1432c28c4ffa353a
treedf00a08076ed8847f673e9710b19c3b3eef3825f
parentc2cd7bd3ecfe058c8365795d5bc9f49bd0ad5a0c
sandbox: add dummy driver ETH_SANDBOX_LWIP

Introduce ETH_SANDBOX_LWIP which enables a mock driver similar to
ETH_SANDOX but without the dependencies on the legacy network stack
(NET) so that it may be enabled when the lwIP stack (NET_LWIP) is
introduced. The driver does nothing at this stage but its presence
will allow dm_test_iommu_noiommu [1] to pass.

[1] ./u-boot -T -c "ut dm dm_test_iommu_noiommu"

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/sandbox-lwip.c [new file with mode: 0644]