From: Nicolas Saenz Julienne Date: Mon, 21 Dec 2020 14:36:32 +0100 Subject: [PATCH v3 07/12] dm: test: Add test case for dev->dma_offset In-Reply-To: References: <20201215172323.13309-1-nsaenzjulienne@suse.de> <20201215172323.13309-8-nsaenzjulienne@suse.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2020-12-18 at 19:28 -0700, Simon Glass wrote: > On Tue, 15 Dec 2020 at 10:23, Nicolas Saenz Julienne > wrote: > > > > Add test to validate dev->dma_offset is properly set on devices. > > > > Signed-off-by: Nicolas Saenz Julienne > > --- > > ?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 > > 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: