u-boot/arch/arm/mach-kirkwood/lowlevel.S
Pali Rohár ae60fc6902 arm: kirkwood: Move internal registers in arch_very_early_init() function
Same change as was done for mvebu in commit 5bb2c550b1 ("arm: mvebu: Move
internal registers in arch_very_early_init() function") but for kirkwood.

Signed-off-by: Pali Rohár <pali@kernel.org>
Tested-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2023-03-24 13:11:47 +01:00

12 lines
289 B
ArmAsm

/* SPDX-License-Identifier: GPL-2.0+ */
#include <config.h>
#include <linux/linkage.h>
ENTRY(arch_very_early_init)
/* Move internal registers from KW_OFFSET_REG to KW_REGS_PHY_BASE */
ldr r0, =KW_REGS_PHY_BASE
ldr r1, =KW_OFFSET_REG
str r0, [r1]
bx lr
ENDPROC(arch_very_early_init)