#ifndef _LINUX_COREBOOT_H
#define _LINUX_COREBOOT_H
+#include <linux/compiler_attributes.h>
#include <linux/types.h>
+typedef __aligned(4) u64 cb_u64;
+
/* List of coreboot entry structures that is used */
#define CB_TAG_FRAMEBUFFER 0x12
u32 tag;
u32 size;
- u64 cbmem_addr;
+ cb_u64 cbmem_addr;
};
/* Corresponds to LB_TAG_CBMEM_ENTRY */
u32 tag;
u32 size;
- u64 address;
+ cb_u64 address;
u32 entry_size;
u32 id;
};
u32 tag;
u32 size;
- u64 physical_address;
+ cb_u64 physical_address;
u32 x_resolution;
u32 y_resolution;
u32 bytes_per_line;