board: samsung: e850-96: Report LDFW loading failures
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 16 Jan 2025 23:01:29 +0000 (17:01 -0600)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 5 Feb 2025 10:15:12 +0000 (19:15 +0900)
commitccfd8de541a8ab329e575648dabb934572d55fe6
treecf57316355e65b28f9055187996a5d6a88ef3359
parent4d8ccb938d580638aac48d0e432d6699ed3cc4b8
board: samsung: e850-96: Report LDFW loading failures

LDFW firmware loading can fail, e.g. in case if user forgot to upload
the binary to the appropriate location (/EFI/firmware/ldfw.bin on ESP
partition). Report such errors explicitly, so that the user can notice
it early and take necessary actions. But don't return error code from
board_init() in this case, as LDFW firmware is not mandatory for board
operation and is only required for some features like TRNG.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/e850-96/e850-96.c