coreboot-kgpe-d16/payloads/coreinfo
Philip Prindeville 68299ee7a4 Eliminate magic numbers
Use sizeof() on vendor and part# rather than explicit memory length.

Change-Id: I2b7e0e4a8df6448d027cc61867382f161eb990d3
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Reviewed-on: http://review.coreboot.org/504
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2012-01-07 11:50:16 +01:00
..
util/kconfig Respect linker order 2011-12-21 16:27:01 +01:00
COPYING
Kconfig Change default path and configuration for Coreinfo. 2010-08-05 14:41:29 +00:00
Makefile Change default path and configuration for Coreinfo. 2010-08-05 14:41:29 +00:00
README Add build instructions for coreinfo, specially pointing out installing 2011-04-01 00:39:07 +00:00
bootlog_module.c
cbfs_module.c
coreboot_module.c Eliminate magic numbers 2012-01-07 11:50:16 +01:00
coreinfo.c
coreinfo.h
cpuid.S
cpuinfo_module.c
lar_module.c
multiboot_module.c
nvram_module.c
pci_module.c
ramdump_module.c

README

This is a silly little program that demonstrates how cool libpayload is
and also serves a purpose.  Its fun and educational!

Requirements
------------

You should use the coreboot reference cross compiler. If you insist on using
your system compiler, some Linux distributions might require you to install
a package called gcc-multilib if you are on a 64bit system.

Build
-----

You need libpayload to build coreinfo. So, first, you need follow the README of 
libpayload to build it but install libpayload into its own directory by doing 
this:

 $ make DESTDIR=/path/to/libpayload/install install

Then you can build coreinfo now:

 $ cd coreinfo

 $ make menuconfig
 
 $ make