mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
22 lines
401 B
C
22 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;
|
|
}
|