[PATCH v2 2/7] test: Add tests for IOMMU uclass

Mark Kettenis mark.kettenis at xs4all.nl
Thu Oct 14 21:50:58 CEST 2021


> From: Simon Glass <sjg at chromium.org>
> Date: Mon, 11 Oct 2021 11:00:36 -0600
> 
> On Sun, 3 Oct 2021 at 12:31, Mark Kettenis <kettenis at openbsd.org> wrote:
> >
> > Add a set of tests for the IOMMU uclass.
> >
> > Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
> > ---
> >  arch/sandbox/dts/test.dts          |  6 ++++++
> >  configs/sandbox64_defconfig        |  1 +
> >  configs/sandbox_defconfig          |  1 +
> >  configs/sandbox_flattree_defconfig |  1 +
> >  configs/sandbox_noinst_defconfig   |  1 +
> >  configs/sandbox_spl_defconfig      |  1 +
> >  drivers/iommu/Makefile             |  2 ++
> >  drivers/iommu/sandbox_iommu.c      | 18 ++++++++++++++++++
> >  test/dm/Makefile                   |  1 +
> >  test/dm/iommu.c                    | 28 ++++++++++++++++++++++++++++
> >  10 files changed, 60 insertions(+)
> >  create mode 100644 drivers/iommu/sandbox_iommu.c
> >  create mode 100644 test/dm/iommu.c
> >
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> You could add the CONFIG options to sandbox's Kconfig in arch/Kconfig

The codebase is a bit inconsistent in that respect isn't it?


More information about the U-Boot mailing list