]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Add efi runtime reset
authorAlexander Graf <agraf@suse.de>
Wed, 30 Jan 2019 10:46:34 +0000 (11:46 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 10 Mar 2019 23:44:42 +0000 (00:44 +0100)
commitf467351a31d3998f4604769541a8e494be07e8fa
tree6c3b1f043c05d02883a1263754ea17b0f2082f5a
parent42429dc865ffa7ea63af0bf741655126541438d1
x86: Add efi runtime reset

Our selftest will soon test the actual runtime reset function rather than
the boot time one. For this, we need to ensure that the runtime version
actually succeeds on x86 to keep our travis tests work.

So this patch implements an x86 runtime reset function. It is missing
shutdown functionality today, but OSs usually implement that via ACPI
and this function does more than the stub from before, so it's at least
an improvement.

Eventually we will want to have full DM functionality in runtime services.
But this fixes a travis failure and doesn't clutter the code too heavily, so
we should pull it in without the amazing new RTS DM framework.

Signed-off-by: Alexander Graf <agraf@suse.de>
drivers/sysreset/sysreset_x86.c