[PATCH v3 07/12] dm: test: Add test case for dev->dma_offset

Nicolas Saenz Julienne nsaenzjulienne at suse.de
Mon Dec 21 14:36:32 CET 2020


On Fri, 2020-12-18 at 19:28 -0700, Simon Glass wrote:
> On Tue, 15 Dec 2020 at 10:23, Nicolas Saenz Julienne
> <nsaenzjulienne at suse.de> wrote:
> > 
> > Add test to validate dev->dma_offset is properly set on devices.
> > 
> > Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> > ---
> >  arch/sandbox/dts/test.dts          |  4 ++++
> >  configs/sandbox64_defconfig        |  1 +
> >  configs/sandbox_defconfig          |  1 +
> >  configs/sandbox_flattree_defconfig |  1 +
> >  configs/sandbox_spl_defconfig      |  1 +
> >  test/dm/core.c                     | 30 ++++++++++++++++++++++++++++++
> >  6 files changed, 38 insertions(+)
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> We normally use ut_assertok() instead of ut_assert(!xxx), since 0 means OK.

Will fix this across all tests.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201221/7fb5f24f/attachment.sig>


More information about the U-Boot mailing list