Document a rough estimate of how much space in the ELF file each of the
coreinfo features / modules will consume (trivial).
The measurements were done with libpayload r3213 (but compiled with -Os),
and coreinfo r3211 (also compiled with -Os).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3214 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/payloads/coreinfo/Kconfig b/payloads/coreinfo/Kconfig
index 1f4a597a..1b80db9 100644
--- a/payloads/coreinfo/Kconfig
+++ b/payloads/coreinfo/Kconfig
@@ -34,6 +34,8 @@
Show the current date and time in the lower-right corner of
the coreinfo menu.
+ This option will increase the ELF file size by ca. 256 bytes.
+
endmenu
menu "Modules"
@@ -41,18 +43,26 @@
config MODULE_COREBOOT
bool "Enable the coreboot module"
default y
+ help
+ This option will increase the ELF file size by ca. 2250 bytes.
config MODULE_CPUINFO
bool "Enable the cpuinfo module"
default y
+ help
+ This option will increase the ELF file size by ca. 2650 bytes.
config MODULE_PCI
bool "Enable the PCI info module"
default y
+ help
+ This option will increase the ELF file size by ca. 1750 bytes.
config MODULE_NVRAM
bool "Enable the NVRAM dump module"
default y
+ help
+ This option will increase the ELF file size by ca. 150 bytes.
endmenu