Remove various .c #includes from Intel i810/i82801ax/i82801bx boards.
authorUwe Hermann <uwe@hermann-uwe.de>
Wed, 13 Oct 2010 23:00:41 +0000 (23:00 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Wed, 13 Oct 2010 23:00:41 +0000 (23:00 +0000)
commit212d0a2eaefac97c55ad932e775be68a975fe164
tree6cd83b660f21ace2a3c9a3c9be4b1024dba19bfd
parent6529c2a7172f166f53ec3d6204dd375cd6441579
Remove various .c #includes from Intel i810/i82801ax/i82801bx boards.

This is pretty much the same mechanism as in r5929.

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

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

 - Add various header files which are now needed, drop unused includes.

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

Abuild-tested.

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@5951 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
19 files changed:
src/mainboard/asus/mew-am/romstage.c
src/mainboard/asus/mew-vm/romstage.c
src/mainboard/ecs/p6iwp-fe/romstage.c
src/mainboard/hp/e_vectra_p2706t/romstage.c
src/mainboard/intel/d810e2cb/romstage.c
src/mainboard/mitac/6513wu/romstage.c
src/mainboard/msi/ms6178/romstage.c
src/mainboard/nec/powermate2000/romstage.c
src/northbridge/intel/i82810/Makefile.inc
src/northbridge/intel/i82810/debug.c
src/northbridge/intel/i82810/i82810.h
src/northbridge/intel/i82810/raminit.c
src/northbridge/intel/i82810/raminit.h
src/southbridge/intel/i82801ax/Makefile.inc
src/southbridge/intel/i82801ax/i82801ax_early_smbus.c
src/southbridge/intel/i82801ax/i82801ax_smbus.h
src/southbridge/intel/i82801bx/Makefile.inc
src/southbridge/intel/i82801bx/i82801bx_early_smbus.c
src/southbridge/intel/i82801bx/i82801bx_smbus.h