]> git.dujemihanovic.xyz Git - u-boot.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)
commitfe9d049e1319b040c80634a0db8d6309b9e9b746
treef76d22a82dd538e8a74a2f5a8117b613749fb243
parent686c2bbb4429088b21b7dc281e43f7ea0c3080d1
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