[PATCH v11 04/29] sandbox: add dummy driver ETH_SANDBOX_LWIP
Simon Glass
sjg at chromium.org
Wed Oct 9 03:55:27 CEST 2024
On Thu, 3 Oct 2024 at 09:23, Jerome Forissier
<jerome.forissier at linaro.org> wrote:
>
> 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 at linaro.org>
> ---
> drivers/net/Kconfig | 11 +++++
> drivers/net/Makefile | 1 +
> drivers/net/sandbox-lwip.c | 85 ++++++++++++++++++++++++++++++++++++++
> 3 files changed, 97 insertions(+)
> create mode 100644 drivers/net/sandbox-lwip.c
Reviewed-by: Simon Glass <sjg at chromium.org>
I hope that you can get a few tests in there soon.
More information about the U-Boot
mailing list