spl: spl_nor: Move legacy image loading into spl_legacy.c
authorStefan Roese <sr@denx.de>
Tue, 21 Apr 2020 07:28:43 +0000 (09:28 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 27 Apr 2020 18:29:33 +0000 (20:29 +0200)
commit2fc91ed3baf39cca548107b03b3a9ac4fb0b47f6
tree8536123e9969ef8717a3e8eb7b49cbd5a44ec9fd
parent5ae526b61f6a8832ac72c4aeed6e652887ccbbd0
spl: spl_nor: Move legacy image loading into spl_legacy.c

Move the legacy image loading into spl_legacy.c. This makes it easier
to extend the legacy image handling with new features that other
SPL loaders might use (e.g. spl_spi.c etc).

No functional change intended.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Weijie Gao <weijie.gao@mediatek.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
common/spl/spl_legacy.c
common/spl/spl_nor.c
include/spl.h