clk: starfive: Replace SOC_STARFIVE with ARCH_STARFIVE
authorHal Feng <hal.feng@starfivetech.com>
Sat, 1 Apr 2023 11:19:15 +0000 (19:19 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Wed, 5 Apr 2023 14:43:29 +0000 (15:43 +0100)
commitc61f19ec3be35271fc005dac34390d9c5e1a2737
tree229505a0573fedefa2261509a13e1f472b774cf1
parent3de0c91032580d4923624fe6ee773eddd1b574bc
clk: starfive: Replace SOC_STARFIVE with ARCH_STARFIVE

Using ARCH_FOO symbol is preferred than SOC_FOO.
Set obj-y for starfive/ in Makefile, so the StarFive drivers
can be compiled with COMPILE_TEST=y but ARCH_STARFIVE=n.

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
drivers/clk/Makefile
drivers/clk/starfive/Kconfig