summaryrefslogtreecommitdiff
path: root/util/nvramtool/cmos_lowlevel.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/nvramtool/cmos_lowlevel.h')
-rw-r--r--util/nvramtool/cmos_lowlevel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/nvramtool/cmos_lowlevel.h b/util/nvramtool/cmos_lowlevel.h
index ebe82a7a11..3c2efce1e1 100644
--- a/util/nvramtool/cmos_lowlevel.h
+++ b/util/nvramtool/cmos_lowlevel.h
@@ -34,6 +34,9 @@
#include "common.h"
#include "layout.h"
+typedef enum { HAL_CMOS, HAL_MEMORY } hal_t;
+void select_hal(hal_t hal, void *data);
+
#define CMOS_AREA_OUT_OF_RANGE (CMOS_RESULT_START + 0)
#define CMOS_AREA_OVERLAPS_RTC (CMOS_RESULT_START + 1)
#define CMOS_AREA_TOO_WIDE (CMOS_RESULT_START + 2)