part: efi: Fix offset
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 23 Aug 2017 14:01:30 +0000 (16:01 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 3 Sep 2017 15:04:47 +0000 (11:04 -0400)
commit89d33a2c0dce785b8c503399db91eec520def249
tree24ebb69075a1086ea7ff6c6fadf04572f02538d7
parent41a85fe3b926385816e1958e2e4a521cae79921e
part: efi: Fix offset

Both the config option and the DT options specify the offset to set the GPT
at in bytes, yet the code treats those values as block numbers.

Fix that.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
disk/part_efi.c