Pali Rohár | 9de447c | 2023-03-11 11:57:01 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | |||||
3 | #include <config.h> | ||||
4 | #include <linux/linkage.h> | ||||
5 | |||||
6 | ENTRY(arch_very_early_init) | ||||
7 | /* Move internal registers from KW_OFFSET_REG to KW_REGS_PHY_BASE */ | ||||
8 | ldr r0, =KW_REGS_PHY_BASE | ||||
9 | ldr r1, =KW_OFFSET_REG | ||||
10 | str r0, [r1] | ||||
11 | bx lr | ||||
12 | ENDPROC(arch_very_early_init) |