The AM654 device is designed for industrial automation and PLC controller class platforms among other applications. Introduce base support for AM654 SoC. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>lime2-spi
parent
586bde93eb
commit
ed0e605124
@ -0,0 +1,6 @@ |
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/
|
||||
# Lokesh Vutla <lokeshvutla@ti.com>
|
||||
|
||||
obj-$(CONFIG_SOC_K3_AM6) += am6_init.o
|
@ -0,0 +1,32 @@ |
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* K3: Architecture initialization |
||||
* |
||||
* Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/
|
||||
* Lokesh Vutla <lokeshvutla@ti.com> |
||||
*/ |
||||
|
||||
#include <common.h> |
||||
#include <spl.h> |
||||
|
||||
#ifdef CONFIG_SPL_BUILD |
||||
void board_init_f(ulong dummy) |
||||
{ |
||||
/* Init DM early in-order to invoke system controller */ |
||||
spl_early_init(); |
||||
|
||||
/* Prepare console output */ |
||||
preloader_console_init(); |
||||
} |
||||
|
||||
u32 spl_boot_device(void) |
||||
{ |
||||
return BOOT_DEVICE_RAM; |
||||
} |
||||
#endif |
||||
|
||||
#ifndef CONFIG_SYSRESET |
||||
void reset_cpu(ulong ignored) |
||||
{ |
||||
} |
||||
#endif |
@ -0,0 +1,16 @@ |
||||
/* SPDX-License-Identifier: GPL-2.0+ */ |
||||
/*
|
||||
* K3: Common SoC clock definitions. |
||||
* |
||||
* (C) Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
|
||||
*/ |
||||
#ifndef __ASM_ARCH_CLOCK_H |
||||
#define __ASM_ARCH_CLOCK_H |
||||
|
||||
#include <config.h> |
||||
|
||||
/* Clock Defines */ |
||||
#define V_OSCK 24000000 |
||||
#define V_SCLK V_OSCK |
||||
|
||||
#endif /* __ASM_ARCH_CLOCK_H */ |
Loading…
Reference in new issue