libpayload: Add iterators for CMOS variables
[coreboot.git] / payloads / libpayload / drivers / nvram.c
index b28de92b783674794671602c1393860cdc659050..86ff6704256bc00a0b46e66649d1f800c89031b2 100644 (file)
@@ -39,7 +39,7 @@
  * http://bochs.sourceforge.net/techspec/CMOS-reference.txt
  * http://www.bioscentral.com/misc/cmosmap.htm
  */
-
+#include <libpayload-config.h>
 #include <libpayload.h>
 
 
@@ -68,7 +68,7 @@
 
 /**
  * Read a byte from the specified NVRAM address.
- * 
+ *
  * @param addr The NVRAM address to read a byte from.
  * @return The byte at the given NVRAM address.
  */
@@ -82,7 +82,7 @@ u8 nvram_read(u8 addr)
 
 /**
  * Write a byte to the specified NVRAM address.
- * 
+ *
  * @param val The byte to write to NVRAM.
  * @param addr The NVRAM address to write to.
  */