[PATCH v3 07/12] dm: test: Add test case for dev->dma_offset
Simon Glass
sjg at chromium.org
Sat Dec 19 03:28:47 CET 2020
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.
More information about the U-Boot
mailing list