Skip to content
Commit bc9a638a authored by Simon Glass's avatar Simon Glass Committed by Alexander Graf
Browse files

efi: Tidy up device-tree-size calculation in copy_fdt()



This is a bit confusing at present since it adds 4KB to the pointer, then
rounds it up. It looks like a bug, but is not.

Move the 4KB addition into a separate statement and expand the comment.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 404ea593
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment