]> git.baikalelectronics.ru Git - uboot.git/commit
tools: relocate-rela: Open binary u-boot file later
authorMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:14:59 +0000 (14:14 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:14:59 +0000 (14:14 +0200)
commite733d8e874a895cc102288849c2d3b2534dface4
treef76d22a82dd538e8a74a2f5a8117b613749fb243
parent91a9e9de5e77f1048e8825d19212df3663f12183
tools: relocate-rela: Open binary u-boot file later

There is no value to open u-boot binary file so early. Better to check all
values first and then open binary file.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/9c2b4ebadbe83497db28af02f6af2623793ffdb6.1655299267.git.michal.simek@amd.com
tools/relocate-rela.c