[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/3] hw/block/nand: Register machine reset handler
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 1/3] hw/block/nand: Register machine reset handler |
Date: |
Sun, 2 May 2021 21:38:59 +0100 |
On Sun, 2 May 2021 at 21:31, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> The TYPE_NAND device is bus-less, thus isn't reset automatically.
> Register a reset handler to get reset with the machine.
>
> Fixed: 7426aa72c36 ("nand: Don't inherit from Sysbus")
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
Personally I would just revert 7426aa72c36 rather than introduce
a new use of qemu_register_reset()...
thanks
-- PMM