driver:watchdog:Add config definition to different uses of board level
authorxingyu.wu <xingyu.wu@starfivetech.com>
Tue, 19 Apr 2022 13:27:13 +0000 (21:27 +0800)
committerAndy Hu <andy.hu@starfivetech.com>
Tue, 19 Apr 2022 15:54:47 +0000 (23:54 +0800)
commit91276b60597128ee4eb7219091d7bd65b386e2ed
treef14eb48170954d0e2663a4784414213cf238b126
parent20ce2cc1d08d90cf420c4e40b785428460633bdb
driver:watchdog:Add config definition to different uses of board level

1. The watchdog driver can get different rate from clock by different board.
2. arch:riscv:Kconfig: Adjust the format.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
arch/riscv/Kconfig.socs
drivers/watchdog/starfive-wdt.c