mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 03:23:47 +00:00
ae60fc6902
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>
12 lines
289 B
ArmAsm
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)
|