mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Wolfgang Denk](/assets/img/avatar_default.png)
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
23 lines
401 B
C
23 lines
401 B
C
/*
|
|
* TNETV107X: Architecture initialization
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/io.h>
|
|
|
|
void chip_configuration_unlock(void)
|
|
{
|
|
__raw_writel(TNETV107X_KICK0_MAGIC, TNETV107X_KICK0);
|
|
__raw_writel(TNETV107X_KICK1_MAGIC, TNETV107X_KICK1);
|
|
}
|
|
|
|
int arch_cpu_init(void)
|
|
{
|
|
icache_enable();
|
|
chip_configuration_unlock();
|
|
|
|
return 0;
|
|
}
|