Skip to content
Snippets Groups Projects
  1. Feb 28, 2020
    • Tom Rini's avatar
      Merge branch '2020-02-28-mpc8xx-fixes' · 783b6a71
      Tom Rini authored
      - Fix the watchdog on mpc8xx platforms
      783b6a71
    • Christophe Leroy's avatar
      watchdog: Don't select CONFIG_WATCHDOG and CONFIG_HW_WATCHDOG at the same time · 7e00e907
      Christophe Leroy authored
      
      Commit 06985289 ("watchdog: Implement generic watchdog_reset()
      version") introduced an automatic selection of CONFIG_WATCHDOG by
      CONFIG_WDT. But for boards selecting CONFIG_HW_WATCHDOG, like
      boards have a powerpc 8xx, CONFIG_WATCHDOG shall not be selected
      as they are mutually exclusive.
      
      Make CONFIG_WATCHDOG dependent on !CONFIG_HW_WATCHDOG
      
      Fixes: 06985289 ("watchdog: Implement generic watchdog_reset() version")
      Cc: Stefan Roese <sr@denx.de>
      Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
      Reviewed-by: default avatarStefan Roese <sr@denx.de>
      7e00e907
    • Christophe Leroy's avatar
      watchdog: mpc8xx: Revert the 8xx watchdog back to CONFIG_HW_WATCHDOG · a6825607
      Christophe Leroy authored
      
      Commit f3729ba6 ("watchdog: mpc8xx_wdt: Watchdog driver and macros
      cleanup") switched the watchdog to CONFIG_WATCHDOG. But this is not
      compatible with the 8xx because it starts the watchdog HW timer at
      reset and must be serviced from the very beginning including while
      U-boot is executed in the firmware before relocation in RAM.
      
      Select CONFIG_HW_WATCHDOG and make hw_watchdog_reset() visible.
      
      Meanwhile, finalise the cleanup of arch/powerpc/cpu/mpc8xx/Kconfig by
      removing the lines put in comment in that commit, and also remove
      again the selection of CONFIG_MPC8xx_WATCHDOG which was removed by
      that commit and brought back by mistake by commit b3134ffb
      ("watchdog: Kconfig: Sort entry alphabetically")
      
      Note that there was an 'imply WATCHDOG' in the original commit but
      it disappeared in the Kconfig alphabetical sorting, so no need to
      remove it here.
      
      Fixes: f3729ba6 ("watchdog: mpc8xx_wdt: Watchdog driver and macros cleanup")
      Fixes: b3134ffb ("watchdog: Kconfig: Sort entry alphabetically")
      Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Reviewed-by: default avatarStefan Roese <sr@denx.de>
      a6825607
  2. Feb 27, 2020
  3. Feb 26, 2020
  4. Feb 25, 2020
  5. Feb 24, 2020
  6. Feb 21, 2020
  7. Feb 20, 2020
Loading