util: add le32_to_cpu()
[seabios.git] / src / util.h
index 174e94b6bea22a257a0b6a2648dd14788dd60a46..eecba8b21ee1ab0766a9cf608f0e5d4fc041f18d 100644 (file)
@@ -129,6 +129,11 @@ static inline u32 cpu_to_le32(u32 x)
     return x;
 }
 
+static inline u32 le32_to_cpu(u32 x)
+{
+    return x;
+}
+
 static inline u32 getesp(void) {
     u32 esp;
     asm("movl %%esp, %0" : "=rm"(esp));