firmware: coreboot: Check size of table entry and use flex-array
[platform/kernel/linux-starfive.git] / drivers / firmware / google / coreboot_table.h
index 37f4d33..d814dca 100644 (file)
@@ -79,6 +79,7 @@ struct coreboot_device {
                struct lb_cbmem_ref cbmem_ref;
                struct lb_cbmem_entry cbmem_entry;
                struct lb_framebuffer framebuffer;
+               DECLARE_FLEX_ARRAY(u8, raw);
        };
 };