starfive: add new target for StarFive JH7100/7110 SoC
[openwrt/staging/981213.git] / target / linux / starfive / patches-6.1 / 0007-reset-starfive-Replace-SOC_STARFIVE-with-ARCH_STARFI.patch
1 From 0ee5a7565601fa785d7e55c57f26ff5d79473eb2 Mon Sep 17 00:00:00 2001
2 From: Hal Feng <hal.feng@starfivetech.com>
3 Date: Sat, 1 Apr 2023 19:19:19 +0800
4 Subject: [PATCH 007/122] reset: starfive: Replace SOC_STARFIVE with
5 ARCH_STARFIVE
6
7 Using ARCH_FOO symbol is preferred than SOC_FOO.
8
9 Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
10 Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
11 Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
12 Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
13 Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
14 ---
15 drivers/reset/Kconfig | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18 --- a/drivers/reset/Kconfig
19 +++ b/drivers/reset/Kconfig
20 @@ -234,8 +234,8 @@ config RESET_SOCFPGA
21
22 config RESET_STARFIVE_JH7100
23 bool "StarFive JH7100 Reset Driver"
24 - depends on SOC_STARFIVE || COMPILE_TEST
25 - default SOC_STARFIVE
26 + depends on ARCH_STARFIVE || COMPILE_TEST
27 + default ARCH_STARFIVE
28 help
29 This enables the reset controller driver for the StarFive JH7100 SoC.
30