Merge branch 'for-2023.07' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx
[platform/kernel/u-boot.git] / drivers / watchdog / Kconfig
index a15fbd6..6466635 100644 (file)
@@ -185,12 +185,28 @@ config WDT_MESON_GXBB
          Select this to enable Meson watchdog timer,
          which can be found on some Amlogic platforms.
 
          Select this to enable Meson watchdog timer,
          which can be found on some Amlogic platforms.
 
-config WDT_MPC8xx
-       bool "MPC8xx watchdog timer support"
-       depends on WDT && MPC8xx
-       select HW_WATCHDOG
+config WDT_MPC8xxx
+       bool "MPC8xxx watchdog timer support"
+       depends on WDT && (MPC8xx || MPC83xx)
+       help
+         Select this to enable mpc8xxx watchdog timer
+
+config WDT_MPC8xxx_BME
+       bool "Enable MPC8xx Bus Monitoring"
+       depends on WDT_MPC8xxx && MPC8xx
        help
        help
-         Select this to enable mpc8xx watchdog timer
+         Select this to enable mpc8xx Bus Monitor.
+
+config WDT_MPC8xxx_BMT
+       int "MPC8xx Bus Monitor Timing" if WDT_MPC8xxx_BME
+       range 0 255
+       default 255
+       depends on WDT_MPC8xxx
+       help
+         Bus monitor timing. Defines the timeout period, in 8 system clock
+         resolution, for the bus monitor.
+
+         Maximum timeout is 2,040 clocks (255 x 8).
 
 config WDT_MT7620
        bool "MediaTek MT7620 watchdog timer support"
 
 config WDT_MT7620
        bool "MediaTek MT7620 watchdog timer support"