summaryrefslogtreecommitdiff
path: root/payloads/coreinfo/coreinfo.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-07-07 15:10:13 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-07-07 15:10:13 +0000
commit941c1fd52a96fd3e238d1798127a137e4c4eb659 (patch)
treee1c955c516869087df95a4bde873d9aad6bcea35 /payloads/coreinfo/coreinfo.c
parent280df106c0711235bfc891abfbab0020d2d0266a (diff)
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
Diffstat (limited to 'payloads/coreinfo/coreinfo.c')
-rw-r--r--payloads/coreinfo/coreinfo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index befe988c2d..846cf77c18 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -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
};