[U-Boot] [RESEND][PATCH 20/24] sh: add shared relocate_code() function and call board_init_r()
Simon Glass
sjg at chromium.org
Wed Nov 30 01:34:06 CET 2016
On 27 November 2016 at 15:15, Vladimir Zapolskiy <vz at mleia.com> wrote:
> Commits b61e90e6fd83 ("sh: Drop the arch-specific board init") and
> f41e6088eb1a ("sh: Fix build errors for generic board") left code and
> data relocation done in start.S, however further actual U-boot
U-Boot
> configuration is not started anymore. Practically SH boards with the
> code relocated into the expected position by start.S still can be
> booted, so the change adds this option and provides an option how to
> relocate code for board_init_r() execution.
>
> Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>
> ---
> arch/sh/cpu/sh2/cpu.c | 6 ------
> arch/sh/cpu/sh3/cpu.c | 6 ------
> arch/sh/cpu/sh4/cpu.c | 6 ------
> arch/sh/lib/board.c | 18 ++++++++++++++++++
> 4 files changed, 18 insertions(+), 18 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list