aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/hw/fsp/fsp-epow.h
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/skiboot/hw/fsp/fsp-epow.h
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/skiboot/hw/fsp/fsp-epow.h')
-rw-r--r--roms/skiboot/hw/fsp/fsp-epow.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/roms/skiboot/hw/fsp/fsp-epow.h b/roms/skiboot/hw/fsp/fsp-epow.h
new file mode 100644
index 000000000..bc1df258e
--- /dev/null
+++ b/roms/skiboot/hw/fsp/fsp-epow.h
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+/*
+ * Handle FSP EPOW event notifications
+ *
+ * Copyright 2013-2015 IBM Corp.
+ */
+
+#ifndef __FSP_EPOW_H
+#define __FSP_EPOW_H
+
+/* FSP based EPOW event notifications */
+#define EPOW_NORMAL 0x00 /* panel status normal */
+#define EPOW_EX1 0x01 /* panel status extended 1 */
+#define EPOW_EX2 0x02 /* Panel status extended 2 */
+
+/* EPOW reason code notifications */
+#define EPOW_ON_UPS 1 /* System on UPS */
+#define EPOW_TMP_AMB 2 /* Over ambient temperature */
+#define EPOW_TMP_INT 3 /* Over internal temperature */
+
+#endif