]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: Use directly version_string variable
authorPali Rohár <pali@kernel.org>
Mon, 2 Aug 2021 13:18:30 +0000 (15:18 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 17 Sep 2021 16:10:44 +0000 (12:10 -0400)
commitfa9c5da70206621b42530e58882680fb1c4079cd
treee49efa5344b6b4cca48d1e98c4464d30c4e2b07a
parenta79f82331437909c8f99217c616bb17e26013448
efi_loader: Use directly version_string variable

Macro U_BOOT_VERSION_STRING is already stored in variable version_string.
So use directly this variable instead of storing U_BOOT_VERSION_STRING into
temporary variable.

Signed-off-by: Pali Rohár <pali@kernel.org>
[trini: This area was reworked since posted, what is here is now really
        inspired by the previous version, so drop Ilias' Acked-by]
Signed-off-by: Tom Rini <trini@konsulko.com>
lib/efi_loader/efi_tcg2.c