]> git.sur5r.net Git - u-boot/commit
spl: Convert spl_nor_load_image() to use linker list
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:20:04 +0000 (18:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:06:59 +0000 (15:06 -0400)
commit548b3ee73ca6fc042b85e0b171be36d942eeffb5
treed250680a56531e96381c02bc0c41cd8a5f1d61cb
parentafa6e6c48845bac39a73b41012e8d7a53b13598d
spl: Convert spl_nor_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_nor.c
include/spl.h