From: Geoff Levand Date: Thu, 2 Aug 2018 17:29:36 +0000 (+0000) Subject: lib/efi: Cleanup read/write routines X-Git-Tag: v1.9.0~28 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=c3dfc9b7b91045172d460651c0309b09b0ab121a;hp=c3dfc9b7b91045172d460651c0309b09b0ab121a lib/efi: Cleanup read/write routines Make a new stucture struct efi_data to hold the info that describes an efi variable. Make a common routine efi_open that opens the efi variable file. Switch the efi get/set/del routines over to use efi_open. Signed-off-by: Geoff Levand Signed-off-by: Samuel Mendoza-Jonas ---