Ning Yang commented on a discussion on bsps/aarch64/raspberrypi/start/watchdog.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/120#note_109934 > + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR > + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF > + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS > + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN > + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) > + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF > THE > + * POSSIBILITY OF SUCH DAMAGE. > + */ > + > +#include <bsp/raspberrypi.h> > +#include <bsp/watchdog.h> > + > +#define PM_WDOG BCM2835_REG(BCM2711_PM_WDOG) > +#define PM_RSTC BCM2835_REG(BCM2711_PM_RSTC) > + > +int raspberrypi_watchdog_count = 0; https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/120#note_109477 I designed the interface with reference to `sparc/leon3/include/bsp/watchdog.h`. It seems to have multiple wdt devices. But in rpi4 there is only one, should I keep it consistent? -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/120#note_109934 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
