Rudolf Marek (r.marek@assembler.cz) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1090
-gerrit
commit c804366903fb035c75a7d07fa72874a6e1c27a29 Author: Rudolf Marek r.marek@assembler.cz Date: Tue Jun 5 00:18:37 2012 +0200
Do not use CBFS while in userspace coreboot, fake 64KB chip.
Avoid CBFS, it could be mmaped as file in the future.
Change-Id: I3cf7e8504e216eef7f88e14a3a2906f91fe3abb4 Signed-off-by: Rudolf Marek r.marek@assembler.cz --- src/arch/x86/boot/smbios.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c index f39bf04..78e4e04 100644 --- a/src/arch/x86/boot/smbios.c +++ b/src/arch/x86/boot/smbios.c @@ -142,8 +142,14 @@ static int smbios_write_type0(unsigned long *current, int handle) vboot_data->vbt10 = (u32)t->eos + (version_offset - 1); #endif
+#if CONFIG_ULINUX + /* No CBFS mapped yet */ + t->bios_rom_size = 64; + hdr = NULL; +#else if ((hdr = get_cbfs_header()) != (struct cbfs_header *)0xffffffff) t->bios_rom_size = (ntohl(hdr->romsize) / 65535) - 1; +#endif t->system_bios_major_release = 4; t->bios_characteristics = BIOS_CHARACTERISTICS_PCI_SUPPORTED |