]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3128: remove noop file
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 18 Jan 2024 13:56:00 +0000 (14:56 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jan 2024 02:57:36 +0000 (10:57 +0800)
arch_cpu_init is already returning 0 in its weak definition in
common/board_f.c so let's just remove the file entirely since nothing
else is done in it.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
arch/arm/mach-rockchip/rk3128/Makefile
arch/arm/mach-rockchip/rk3128/rk3128.c [deleted file]

index 50e11175423afa51588e2e03261a8978e398b38e..8df1a60a34880c5c60727363cd0d02cd3a835dd5 100644 (file)
@@ -4,6 +4,5 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-obj-y += rk3128.o
 obj-y += syscon_rk3128.o
 obj-y += clk_rk3128.o
diff --git a/arch/arm/mach-rockchip/rk3128/rk3128.c b/arch/arm/mach-rockchip/rk3128/rk3128.c
deleted file mode 100644 (file)
index 8f8f495..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (c) 2017 Rockchip Electronics Co., Ltd
- */
-#include <common.h>
-#include <init.h>
-
-int arch_cpu_init(void)
-{
-       /* We do some SoC one time setting here. */
-
-       return 0;
-}