[U-Boot] [PATCH 33/40] x86: sysreset: Implement the get_last() method

Bin Meng bmeng.cn at gmail.com
Fri Feb 22 07:20:16 UTC 2019


Hi Simon,

On Wed, Jan 30, 2019 at 12:01 PM Simon Glass <sjg at chromium.org> wrote:
>
> Add a default implementation of this method which always indicates that
> the last reset was a power-on reset. This is the most likely type of reset
> and without a PCH-specific driver we cannot determine any other type.
>

See my comments for patch [28/40]. We can return the correct reset
type based on whether PCH provided ioctl for pmbase address.

> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/sysreset/sysreset_x86.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>

Regards,
Bin


More information about the U-Boot mailing list