Skip to content
Snippets Groups Projects
Commit dede284d authored by Andreas Färber's avatar Andreas Färber Committed by Tom Rini
Browse files

efi_loader: Handle memory overflows


jetson-tk1 has 2 GB of RAM at 0x80000000, causing gd->ram_top to be zero.
Handle this by either avoiding ram_top or by using the same type as
ram_top to reverse the overflow effect.

Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
parent bd716dd0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment