summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/drivers/Makefile.inc2
-rw-r--r--payloads/libpayload/drivers/nvram.c (renamed from payloads/libpayload/drivers/cmos.c)0
-rw-r--r--payloads/libpayload/include/libpayload.h2
3 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/Makefile.inc b/payloads/libpayload/drivers/Makefile.inc
index fd348408aa..9f436da79c 100644
--- a/payloads/libpayload/drivers/Makefile.inc
+++ b/payloads/libpayload/drivers/Makefile.inc
@@ -31,4 +31,4 @@
TARGETS-$(CONFIG_SERIAL_CONSOLE) += drivers/serial.o
TARGETS-$(CONFIG_VGA_CONSOLE) += drivers/vga.o
TARGETS-$(CONFIG_PC_KEYBOARD) += drivers/keyboard.o
-TARGETS-$(CONFIG_NVRAM) += drivers/cmos.o
+TARGETS-$(CONFIG_NVRAM) += drivers/nvram.o
diff --git a/payloads/libpayload/drivers/cmos.c b/payloads/libpayload/drivers/nvram.c
index 3789c09b3c..3789c09b3c 100644
--- a/payloads/libpayload/drivers/cmos.c
+++ b/payloads/libpayload/drivers/nvram.c
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index 8f1c12e4df..251c79f257 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -49,7 +49,7 @@
#define NVRAM_RTC_MONTH 8
#define NVRAM_RTC_YEAR 9
-/* drivers/cmos.c */
+/* drivers/nvram.c */
u8 nvram_read(u8 addr);
void nvram_write(u8 val, u8 addr);