Re: [U-Boot] [RESEND][PATCH 21/24] sh4: fix start.S by calling board_init_f() after first code relocation

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > Like on ARM platform keep the first code relocation from a U-boot > image storage to RAM at CONFIG_SYS_TEXT_BASE, then pass execution to a > generic board_init_f() with empty GD flags. If CONFIG_SYS_TEXT_BASE is > equal to a calculated by b

[U-Boot] [RESEND][PATCH 21/24] sh4: fix start.S by calling board_init_f() after first code relocation

2016-11-27 Thread Vladimir Zapolskiy
Like on ARM platform keep the first code relocation from a U-boot image storage to RAM at CONFIG_SYS_TEXT_BASE, then pass execution to a generic board_init_f() with empty GD flags. If CONFIG_SYS_TEXT_BASE is equal to a calculated by board_init_f() relocation address there will be no more code and d