From 941c1fd52a96fd3e238d1798127a137e4c4eb659 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 7 Jul 2009 15:10:13 +0000 Subject: 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 Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4404 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/coreinfo/coreinfo.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'payloads/coreinfo/coreinfo.c') 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 }; -- cgit v1.2.3