efi: add bootsource detection
We check the supported protocol of the parent EFI device of
'efi_loaded_image' to see if we are booted from USB or not (HD)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 359966d commit 443eb41376d93f291049738b018e9f0c0c5a56e1
@Enrico Jorns Enrico Jorns authored on 20 Feb 2018
Sascha Hauer committed on 22 Feb 2018
Showing 1 changed file
View
drivers/efi/efi-device.c