Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Platform data for the Intel TCO Watchdog
0004  */
0005 
0006 #ifndef _ITCO_WDT_H_
0007 #define _ITCO_WDT_H_
0008 
0009 /* Watchdog resources */
0010 #define ICH_RES_IO_TCO      0
0011 #define ICH_RES_IO_SMI      1
0012 #define ICH_RES_MEM_OFF     2
0013 #define ICH_RES_MEM_GCS_PMC 0
0014 
0015 /**
0016  * struct itco_wdt_platform_data - iTCO_wdt platform data
0017  * @name: Name of the platform
0018  * @version: iTCO version
0019  * @no_reboot_use_pmc: Use PMC BXT API to set and clear NO_REBOOT bit
0020  */
0021 struct itco_wdt_platform_data {
0022     char name[32];
0023     unsigned int version;
0024     bool no_reboot_use_pmc;
0025 };
0026 
0027 #endif /* _ITCO_WDT_H_ */