Add initial support for a CBFS module for coreinfo.

Currently it prints a list of components in CBFS and their size/type.
There's a bunch of additional output that could be printed, but that's
for another patch.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Myles Watson <mylesgw@gmail.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4404 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2009-07-07 15:10:13 +00:00
parent 280df106c0
commit 941c1fd52a
4 changed files with 235 additions and 4 deletions

View File

@@ -32,6 +32,7 @@ extern struct coreinfo_module nvram_module;
extern struct coreinfo_module bootlog_module;
extern struct coreinfo_module ramdump_module;
extern struct coreinfo_module lar_module;
extern struct coreinfo_module cbfs_module;
struct coreinfo_module *system_modules[] = {
#ifdef CONFIG_MODULE_CPUINFO
@@ -59,7 +60,10 @@ struct coreinfo_module *firmware_modules[] = {
&bootlog_module,
#endif
#ifdef CONFIG_MODULE_LAR
&lar_module
&lar_module,
#endif
#ifdef CONFIG_MODULE_CBFS
&cbfs_module,
#endif
};