SPL: make jump_to_image_no_args a weak symbol
authorAllen Martin <amartin@nvidia.com>
Fri, 19 Oct 2012 21:08:22 +0000 (21:08 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 29 Oct 2012 16:07:05 +0000 (09:07 -0700)
commita759f1e0db7be05ab562e060cf024af262920426
treefdabce14ef333f6d1b8e40912d07684cbf8ae7cd
parenta2ab6b7d320423ab4d925d75c588c2a13fce61c6
SPL: make jump_to_image_no_args a weak symbol

Change jump_to_image_no_args() to a weak symbol to allow override by
SoC specific code.  This is required by tegra because the SPL runs on
a different CPU from the image it is loading, so tegra specific
initialization is required to start the host CPU.  Pass in spl_image
as a parameter for the same reason.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Tom Rini <trini@ti.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
common/spl/spl.c