Remove various .c #includes from Intel 440BX/82371EB boards.

- Use 'romstage-y' to turn i82371eb_early_pm.c and i82371eb_early_smbus.c
   into distinct compilation units, and don't #include the files anymore
   in romstage.c files.

 - Ditto for lib/debug.c, northbridge/intel/i440bx/raminit.c, and
   northbridge/intel/i440bx/debug.c.

 - Add various header files which are now needed.

 - Make functions that need to be visible non-static.

 - Drop a remaining "select ROMCC" from a 4440BX board.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Idwer Vollering <vidwer@gmail.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5929 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2010-10-09 17:00:18 +00:00
parent 53b52f356a
commit 115c5b9824
31 changed files with 155 additions and 140 deletions

View File

@ -1,4 +1,6 @@
static void dump_spd_registers(void)
#include "raminit.h"
void dump_spd_registers(void)
{
#if CONFIG_DEBUG_RAM_SETUP
int i;