]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: fit: Move FPGA loading code to separate functions
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Mon, 29 Mar 2021 17:05:12 +0000 (12:05 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 14 Apr 2021 19:23:01 +0000 (15:23 -0400)
commit55e7a1a4350c70d685684111a48e1875e04aad8b
tree647265c62e374954905a1dc6ea69cbe6c00d375c
parente1662d699551de17e62fee6e2c3a883854e0e2f5
spl: fit: Move FPGA loading code to separate functions

The FPGA loading code in spl_simple_fit_read() can easily be separated
from the rest of the logic. It is split into two functions instead of
one because spl_fit_upload_fpga() is used in a subsequent patch.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_fit.c