board: samsung: e850-96: Split LDFW loading and init
authorSam Protsenko <semen.protsenko@linaro.org>
Tue, 18 Nov 2025 23:21:16 +0000 (17:21 -0600)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 26 Nov 2025 08:55:57 +0000 (17:55 +0900)
commit3d1ae437a66795c34604a61104b2ff92ab493b9c
treebb58f9842ff5e3cc33c88b49070f7ab1b83393c6
parent1d9aafa751dd76bd3088b746d53004d04fcb9b6c
board: samsung: e850-96: Split LDFW loading and init

The LDFW firmware loading is done in two steps:

  1. Read the firmware binary from some block device
  2. Provide it to EL3 monitor software via an SMC call, so it can copy
     it to a Secure World memory and start using it

Let's split the load_ldfw() function by two functions correspondingly,
to reflect that process better:

  - load_ldfw_from_blk()
  - init_ldfw()

It can be useful in case when the LDFW binary should be obtained from
some different media, e.g. downloaded over USB during USB boot.

No functional change.

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
board/samsung/e850-96/fw.c
board/samsung/e850-96/fw.h