mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 21:44:15 +00:00
Merge "feat(intel): restructure watchdog" into integration
This commit is contained in:
commit
091f42a674
5 changed files with 22 additions and 5 deletions
|
@ -76,6 +76,11 @@
|
||||||
#define PLAT_UART0_BASE (0xFFC02000)
|
#define PLAT_UART0_BASE (0xFFC02000)
|
||||||
#define PLAT_UART1_BASE (0xFFC02100)
|
#define PLAT_UART1_BASE (0xFFC02100)
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* WDT related constants
|
||||||
|
******************************************************************************/
|
||||||
|
#define WDT_BASE (0xFFD00200)
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* GIC related constants
|
* GIC related constants
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
|
@ -97,6 +97,11 @@
|
||||||
#define PLAT_UART0_BASE (0x10C02000)
|
#define PLAT_UART0_BASE (0x10C02000)
|
||||||
#define PLAT_UART1_BASE (0x10C02100)
|
#define PLAT_UART1_BASE (0x10C02100)
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* WDT related constants
|
||||||
|
******************************************************************************/
|
||||||
|
#define WDT_BASE (0x10D00200)
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* GIC related constants
|
* GIC related constants
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
|
@ -7,11 +7,8 @@
|
||||||
#ifndef CAD_WATCHDOG_H
|
#ifndef CAD_WATCHDOG_H
|
||||||
#define CAD_WATCHDOG_H
|
#define CAD_WATCHDOG_H
|
||||||
|
|
||||||
#if PLATFORM_MODEL == PLAT_SOCFPGA_AGILEX5
|
#include "socfpga_plat_def.h"
|
||||||
#define WDT_BASE (0x10D00200)
|
|
||||||
#else
|
|
||||||
#define WDT_BASE (0xFFD00200)
|
|
||||||
#endif
|
|
||||||
#define WDT_REG_SIZE_OFFSET (0x4)
|
#define WDT_REG_SIZE_OFFSET (0x4)
|
||||||
#define WDT_MIN_CYCLES (65536)
|
#define WDT_MIN_CYCLES (65536)
|
||||||
#define WDT_PERIOD (20)
|
#define WDT_PERIOD (20)
|
||||||
|
|
|
@ -77,6 +77,11 @@
|
||||||
#define PLAT_UART0_BASE (0xFFC02000)
|
#define PLAT_UART0_BASE (0xFFC02000)
|
||||||
#define PLAT_UART1_BASE (0xFFC02100)
|
#define PLAT_UART1_BASE (0xFFC02100)
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* WDT related constants
|
||||||
|
******************************************************************************/
|
||||||
|
#define WDT_BASE (0xFFD00200)
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* GIC related constants
|
* GIC related constants
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
|
@ -75,6 +75,11 @@
|
||||||
#define PLAT_UART0_BASE (0xFFC02000)
|
#define PLAT_UART0_BASE (0xFFC02000)
|
||||||
#define PLAT_UART1_BASE (0xFFC02100)
|
#define PLAT_UART1_BASE (0xFFC02100)
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* WDT related constants
|
||||||
|
******************************************************************************/
|
||||||
|
#define WDT_BASE (0xFFD00200)
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* GIC related constants
|
* GIC related constants
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
Loading…
Add table
Reference in a new issue