diff options
author | Alexander Graf <agraf@suse.de> | 2016-10-18 13:49:40 (GMT) |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-10-19 07:01:54 (GMT) |
commit | 3fb97e267a5e136d8386a7cb1d5b4fe63af518eb (patch) | |
tree | 034b8c37d65ff216f95b1d87f76598028d52dcd7 /cmd/pci.c | |
parent | 3c63db9ca9765c85bbcf2a06f4183cfb0036ea33 (diff) | |
download | u-boot-fsl-qoriq-3fb97e267a5e136d8386a7cb1d5b4fe63af518eb.tar.xz |
efi_loader: Revert device_handle to disk after net boot
When you boot an efi payload from network, then exit that payload
and load another payload from disk afterwords, the disk payload will
currently see the network device as its boot path.
This breaks grub2 for example which tries to find its modules based
on the path it was loaded from.
This patch fixes that issue by always reverting to disk paths if we're
not in the network boot. That way the data structures after a network
boot look the same as before.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/pci.c')
0 files changed, 0 insertions, 0 deletions