]> git.ipfire.org Git - people/ms/u-boot.git/commit
spl: Convert spl_ymodem_load_image() to use linker list
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:20:05 +0000 (18:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:06:59 +0000 (15:06 -0400)
commitdd6bf9025c2fd8ef0860e6e3ff4c12bc202fc64a
treea2bd8701f92f3107469250fff8b1b93d2d922768
parent548b3ee73ca6fc042b85e0b171be36d942eeffb5
spl: Convert spl_ymodem_load_image() to use linker list

Add a linker list declaration for this method and remove the explicit
switch() code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c
common/spl/spl_ymodem.c
include/spl.h