]> git.baikalelectronics.ru Git - uboot.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)
commit03a9f1fb4152a079628c3b530449061a2d8f8e36
tree647265c62e374954905a1dc6ea69cbe6c00d375c
parenta0e095ca730f77e2336de9dcc3f019aaaa216f71
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