From: xingyu.wu Date: Thu, 21 Apr 2022 06:21:18 +0000 (+0800) Subject: arch:riscv:modify Kconfig.socs X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bd49211ad3a58a6bb04928bcf70de85af34b539;p=platform%2Fkernel%2Flinux-starfive.git arch:riscv:modify Kconfig.socs Kconfig.socs: remove the definitions like 'STARFIVE_BOARD_FPGA'. drivers:watchdog: change the definition. Signed-off-by: Xingyu Wu --- diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index cb87acd..31428dc 100755 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -95,29 +95,6 @@ config USB_CDNS3_HOST_FLUSH_DMA endmenu -choice - prompt "StarFive JH SOCs board type" - depends on SOC_STARFIVE - default STARFIVE_BOARD_FPGA - help - choice StarFive JH7110 SOC board type - - config STARFIVE_BOARD_FPGA - bool "FPGA" - help - This enables support for StarFive SoC FPGA board type Hardware. - - config STARFIVE_BOARD_EVB - bool "EVB" - help - This enables support for StarFive SoC EVB board type Hardware. - - config STARFIVE_BOARD_VISIONFIVE - bool "Visionfive" - help - This enables support for StarFive SoC Visionfive board type Hardware. -endchoice - config SOC_VIRT bool "QEMU Virt Machine" select CLINT_TIMER if RISCV_M_MODE diff --git a/drivers/watchdog/starfive-wdt.c b/drivers/watchdog/starfive-wdt.c index d05a668..6965409 100755 --- a/drivers/watchdog/starfive-wdt.c +++ b/drivers/watchdog/starfive-wdt.c @@ -200,7 +200,7 @@ MODULE_DEVICE_TABLE(platform, si5wdt_ids); static int si5wdt_get_clock_rate(struct stf_si5_wdt *wdt) { -#ifdef CONFIG_STARFIVE_BOARD_FPGA +#ifdef HWBOARD_FPGA int ret; u32 freq;