aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-kirkwood/lowlevel.S
blob: 681038495443acff412fb1f0284d509ca99c92f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* 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)