[U-Boot] [PATCH 3/3] arm: bootm: Add dm_remove_devices_flags() call to announce_and_cleanup()

Stefan Roese sr at denx.de
Mon Mar 13 13:20:27 UTC 2017


Hi Simon,

On 13.03.2017 13:50, Stefan Roese wrote:
> On 13.03.2017 13:34, Simon Glass wrote:
>> On 10 March 2017 at 06:50, Stefan Roese <sr at denx.de> wrote:
>>> This patch adds a call to dm_remove_devices_flags() to
>>> announce_and_cleanup() so that drivers that have one of the removal
>>> flags
>>> set (e.g. DM_FLAG_ACTIVE_DMA_REMOVE) in their driver struct, may do some
>>> last-stage cleanup before the OS is started.
>>>
>>> Signed-off-by: Stefan Roese <sr at denx.de>
>>> Cc: Simon Glass <sjg at chromium.org>
>>> ---
>>>  arch/arm/lib/bootm.c | 9 +++++++++
>>>  1 file changed, 9 insertions(+)
>>
>> Reviewed-by: Simon Glass <sjg at chromium.org>
>>
>> One more patch with a test?
>
> Right, already on the list. Lets see, if I can get this finished today.
> Otherwise it will have to wait for a few days...

Do you have something like the reset test case:

4581b717 [reset: implement a reset test]

in mind for this selective device remove test? Or something
completely different?

Thanks,
Stefan


More information about the U-Boot mailing list