spl: nor: Provide falcon boot support for NOR memories
authorLukasz Majewski <lukma@denx.de>
Tue, 15 Oct 2019 08:28:45 +0000 (10:28 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000 (17:04 +0100)
commita4a16c9181a80d8473f71648b6d3a02fc57c9709
tree3e65b102821d2b0693dd3a3689d0c56aa9f414da
parente0fe3dcbd0246c5d5608b5505858acd984d4f3c9
spl: nor: Provide falcon boot support for NOR memories

This commit adds falcon boot support (by also copying args necessary for
booting) to the SPL NOR memory driver.

After this change it is possible to use the falcon boot in the same way
as on NAND memories. The necessary configs (i.e. CONFIG_CMD_SPL_NOR_OFS)
are now defined in Kconfig.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl_nor.c