]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Use unified inline functions for spl_load_info
authorSimon Glass <sjg@chromium.org>
Thu, 22 Aug 2024 13:55:01 +0000 (07:55 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 23 Aug 2024 21:58:41 +0000 (15:58 -0600)
commit50a1ed4335045c57d9073a3fcd265edd89da924a
treecbdfbb72433c5bce3d3f86834940868b3ec3b7ce
parent2a00d73d081a14e7c2ecf23794b6d029268d8ca3
spl: Use unified inline functions for spl_load_info

Rather than declaring completely separate functions, put the code for
each case into the same function. This makes it easier to read.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
include/spl.h