Revert "efi_loader: efi_allocate_pages is too restrictive"
authorStephen Warren <swarren@nvidia.com>
Thu, 2 Aug 2018 17:45:57 +0000 (11:45 -0600)
committerAlexander Graf <agraf@suse.de>
Mon, 20 Aug 2018 09:39:19 +0000 (11:39 +0200)
commitccfc78b820e5e431c5bd73b072e7536a972e1710
tree25d1b7be1d99d5986c9ebefa0196fa094dd0873c
parent18e684dd4ca46a7a1bccc4e30ab47e92315e59c1
Revert "efi_loader: efi_allocate_pages is too restrictive"

This reverts commit aa909462d01866354f4cd4534db5f571c2cf1fbb. This change
caused "dhcp filename" to crash the system on p2371-2180 (Jetson TX1), for
example when running test/py.

Reverting this change isn't optimal, but at least restores TX1 to a working
state. In the future, we should:

a) Fix whatever problem causes the crash with this patch applied. This
needs further discussion, so isn't something we can immediately do.

b) Undo the revert; re-apply the original patch to efi_allocate_pages.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_memory.c