]> git.dujemihanovic.xyz Git - u-boot.git/commit
efidebug: capsule: Add a command to update capsule on disk
authorSughosh Ganu <sughosh.ganu@linaro.org>
Wed, 30 Dec 2020 13:57:11 +0000 (19:27 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 31 Dec 2020 13:41:31 +0000 (14:41 +0100)
commit7407595286f81d18eb14a9c4d8d90bdd159d6a5c
tree391bace6513374854705aa91f75bd497c776d1cb
parent88a2ef2720f58508d763c66e1033604edb97590b
efidebug: capsule: Add a command to update capsule on disk

Add a efidebug subcommand to initiate a firmware update using the efi
firmware management protocol(fmp) set_image routine.

The firmware update can be initiated through

'efidebug capsule disk-update'

This would locate the efi capsule file on the efi system partition,
and call the platform's set_image fmp routine to initiate the firmware
update.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
cmd/efidebug.c