]>
Commit | Line | Data |
---|---|---|
3712367c CC |
1 | /* |
2 | * TNETV107X: Architecture initialization | |
3 | * | |
1a459660 | 4 | * SPDX-License-Identifier: GPL-2.0+ |
3712367c CC |
5 | */ |
6 | ||
7 | #include <common.h> | |
8 | #include <asm/io.h> | |
9 | ||
10 | void chip_configuration_unlock(void) | |
11 | { | |
12 | __raw_writel(TNETV107X_KICK0_MAGIC, TNETV107X_KICK0); | |
13 | __raw_writel(TNETV107X_KICK1_MAGIC, TNETV107X_KICK1); | |
14 | } | |
15 | ||
16 | int arch_cpu_init(void) | |
17 | { | |
18 | icache_enable(); | |
19 | chip_configuration_unlock(); | |
20 | ||
21 | return 0; | |
22 | } |