summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/am6_init.c
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2018-08-27 15:57:09 +0530
committerTom Rini <trini@konsulko.com>2018-09-11 08:32:55 -0400
commited0e60512407716d17405e45e12c92e52918608a (patch)
treeab98c496dc26e062c0632a42c1ac9472b004eef5 /arch/arm/mach-k3/am6_init.c
parent586bde93eb14652c48f007a80f91c79b30c94a61 (diff)
downloadu-boot-ed0e60512407716d17405e45e12c92e52918608a.tar.gz
arm: K3: Add support for AM654 SoC definition
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>
Diffstat (limited to 'arch/arm/mach-k3/am6_init.c')
-rw-r--r--arch/arm/mach-k3/am6_init.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/am6_init.c b/arch/arm/mach-k3/am6_init.c
new file mode 100644
index 0000000000..7a78e85938
--- /dev/null
+++ b/arch/arm/mach-k3/am6_init.c
@@ -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