• Aditya Angadi's avatar
    plat/arm: introduce wrapper functions to setup secure watchdog · b0c97daf
    Aditya Angadi authored
    
    
    The BL1 stage setup code for ARM platforms sets up the SP805 watchdog
    controller as the secure watchdog. But not all ARM platforms use SP805
    as the secure watchdog controller.
    
    So introduce two new ARM platform code specific wrapper functions to
    start and stop the secure watchdog. These functions then replace the
    calls to SP805 driver in common BL1 setup code. All the ARM platforms
    implement these wrapper functions by either calling into SP805 driver
    or the SBSA watchdog driver.
    
    Change-Id: I1a9a11b124cf3fac2a84f22ca40acd440a441257
    Signed-off-by: default avatarAditya Angadi <aditya.angadi@arm.com>
    b0c97daf
platform_def.h 2.67 KB