On 27 March 2017 at 03:02, Stefan Roese <[email protected]> wrote: > Add a test for the correct device removal. Currently two different ways > for device removal are supported: > > - Normal device removal via the device_remove() API > - Removal via selective device driver flags (DM_FLAG_ACTIVE_DMA) > > This new test "remove_active_dma" adds tests cases for those both ways > of removal. This is done by adding a new test driver, which has this > flag set. > > Signed-off-by: Stefan Roese <[email protected]> > Cc: Simon Glass <[email protected]> > --- > v4: > - Added explicit test that a device without the active DMA flags is not > removed upon the active DMA remove call. For this, a new test driver > is added (test_act_dma_drv). > > v2: > - New patch in patchset > > test/dm/core.c | 66 > +++++++++++++++++++++++++++++++++++++++++++++++++++ > test/dm/test-driver.c | 11 +++++++++ > 2 files changed, 77 insertions(+) >
Applied to u-boot-dm, thanks! _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

