summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-03-31 15:17:39 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-03-31 15:17:39 +0000
commitc16d24e73a52858fa165371fa339a37c1adac403 (patch)
treec64151c569399db291b74140859adcf3d05a0e1e /payloads/libpayload/include
parent71f846c13769f037fbdf649224d03377948b7fa9 (diff)
Due to popular demand, rename "CMOS" to "NVRAM" (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3199 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/libpayload.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index 6d80004a98..8f1c12e4df 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -41,17 +41,17 @@
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
-/* Some CMOS byte definitions */
-#define CMOS_RTC_SECONDS 0
-#define CMOS_RTC_MINUTES 2
-#define CMOS_RTC_HOURS 4
-#define CMOS_RTC_DAY 7
-#define CMOS_RTC_MONTH 8
-#define CMOS_RTC_YEAR 9
+/* Some NVRAM byte definitions */
+#define NVRAM_RTC_SECONDS 0
+#define NVRAM_RTC_MINUTES 2
+#define NVRAM_RTC_HOURS 4
+#define NVRAM_RTC_DAY 7
+#define NVRAM_RTC_MONTH 8
+#define NVRAM_RTC_YEAR 9
/* drivers/cmos.c */
-u8 cmos_read(u8 addr);
-void cmos_write(u8 val, u8 addr);
+u8 nvram_read(u8 addr);
+void nvram_write(u8 val, u8 addr);
/* drivers/keyboard.c */
int keyboard_havechar(void);