[U-Boot] [PATCH v2] rockchip: rk3188: enable remap function
Simon Glass
sjg at chromium.org
Sun Apr 9 19:27:59 UTC 2017
On 5 April 2017 at 16:19, Heiko Stuebner <heiko at sntech.de> wrote:
> Most Rockchip socs have the ability to either map the bootrom or a sram
> area to the starting address of the cpu by flipping a bit in the GRF.
>
> Newer socs leave this untouched and mapped to the bootrom but the legacy
> loaders on rk3188 and before enabled the remap functionality and the
> current smp implementation in the Linux kernel also requires it to be
> enabled, to bring up secondary cpus.
>
> So to keep smp working in the kernel, mimic the behaviour of the legacy
> bootloaders and enable the remap functionality.
>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> ---
> changes in v2:
> - drop the rk_board_late_init weak function
> If boards need even more specialized init we can worry
> about that later.
>
> arch/arm/mach-rockchip/Kconfig | 1 +
> arch/arm/mach-rockchip/rk3188-board.c | 18 ++++++++++++++++++
> 2 files changed, 19 insertions(+)
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list