aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2024-01-18 14:56:00 +0100
committerKever Yang <kever.yang@rock-chips.com>2024-01-19 10:57:36 +0800
commitc16c7ac2fe69f3cebbfc921c5b023dccc12cd198 (patch)
treeb6019220b9a4c2a8ec6eb410a7ef2cded70f4ef0
parentf66d9dd81f4c92a74fcf786803cccdd44f9165ef (diff)
downloadu-boot-c16c7ac2fe69f3cebbfc921c5b023dccc12cd198.zip
u-boot-c16c7ac2fe69f3cebbfc921c5b023dccc12cd198.tar.gz
u-boot-c16c7ac2fe69f3cebbfc921c5b023dccc12cd198.tar.bz2
rockchip: rk3128: remove noop file
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>
-rw-r--r--arch/arm/mach-rockchip/rk3128/Makefile1
-rw-r--r--arch/arm/mach-rockchip/rk3128/rk3128.c13
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-rockchip/rk3128/Makefile b/arch/arm/mach-rockchip/rk3128/Makefile
index 50e1117..8df1a60 100644
--- a/arch/arm/mach-rockchip/rk3128/Makefile
+++ b/arch/arm/mach-rockchip/rk3128/Makefile
@@ -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
index 8f8f495..0000000
--- a/arch/arm/mach-rockchip/rk3128/rk3128.c
+++ /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;
-}