From 57b2ff886e0ce2c92820f5722c8031def3ac94cf Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 21 Nov 2010 17:29:59 +0000 Subject: Drop excessive whitespace randomly sprinkled in romstage.c files. Also drop some dead or useless code snippets. Abuild-tested. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6107 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/intel/d945gclf/romstage.c | 10 ++-------- src/mainboard/intel/eagleheights/romstage.c | 5 ----- src/mainboard/intel/jarrell/romstage.c | 7 +------ src/mainboard/intel/mtarvon/romstage.c | 2 -- src/mainboard/intel/truxton/romstage.c | 1 - src/mainboard/intel/xe7501devkit/romstage.c | 1 - 6 files changed, 3 insertions(+), 23 deletions(-) (limited to 'src/mainboard/intel') diff --git a/src/mainboard/intel/d945gclf/romstage.c b/src/mainboard/intel/d945gclf/romstage.c index 237642b747..8d155d1662 100644 --- a/src/mainboard/intel/d945gclf/romstage.c +++ b/src/mainboard/intel/d945gclf/romstage.c @@ -27,23 +27,18 @@ #include #include #include - #include "superio/smsc/lpc47m15x/lpc47m15x.h" - #include - #include #include #include - #include "superio/smsc/lpc47m15x/lpc47m15x_early_serial.c" - -#define SERIAL_DEV PNP_DEV(0x2e, W83627THG_SP1) - #include "northbridge/intel/i945/i945.h" #include "northbridge/intel/i945/raminit.h" #include "southbridge/intel/i82801gx/i82801gx.h" +#define SERIAL_DEV PNP_DEV(0x2e, W83627THG_SP1) + void enable_smbus(void); void setup_ich7_gpios(void) @@ -317,4 +312,3 @@ void main(unsigned long bist) } #endif } - diff --git a/src/mainboard/intel/eagleheights/romstage.c b/src/mainboard/intel/eagleheights/romstage.c index d70798c8a2..82064a418c 100644 --- a/src/mainboard/intel/eagleheights/romstage.c +++ b/src/mainboard/intel/eagleheights/romstage.c @@ -21,20 +21,16 @@ */ #include - #include #include #include #include #include #include - #include - #include #include #include - #include "southbridge/intel/i3100/i3100_early_smbus.c" #include "southbridge/intel/i3100/i3100_early_lpc.c" #include "reset.c" @@ -196,4 +192,3 @@ void main(unsigned long bist) /* Initialize memory */ sdram_initialize(ARRAY_SIZE(mch), mch); } - diff --git a/src/mainboard/intel/jarrell/romstage.c b/src/mainboard/intel/jarrell/romstage.c index 22f5937e02..8b39ce5843 100644 --- a/src/mainboard/intel/jarrell/romstage.c +++ b/src/mainboard/intel/jarrell/romstage.c @@ -63,6 +63,7 @@ static void main(unsigned long bist) skip_romstage(); } } + /* Setup the console */ pc87427_disable_dev(CONSOLE_SERIAL_DEV); pc87427_disable_dev(HIDDEN_SERIAL_DEV); @@ -127,11 +128,5 @@ static void main(unsigned long bist) ram_check(0x00000000, 0x02000000); #endif -#endif -#if 0 - while(1) { - hlt(); - } #endif } - diff --git a/src/mainboard/intel/mtarvon/romstage.c b/src/mainboard/intel/mtarvon/romstage.c index 5d34058a84..525f02e7a0 100644 --- a/src/mainboard/intel/mtarvon/romstage.c +++ b/src/mainboard/intel/mtarvon/romstage.c @@ -15,7 +15,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * */ #include @@ -122,4 +121,3 @@ void main(unsigned long bist) ram_check(0, 1024 * 1024); } - diff --git a/src/mainboard/intel/truxton/romstage.c b/src/mainboard/intel/truxton/romstage.c index 32cca1cfbf..cd7d38de0e 100644 --- a/src/mainboard/intel/truxton/romstage.c +++ b/src/mainboard/intel/truxton/romstage.c @@ -105,4 +105,3 @@ static void main(unsigned long bist) ram_verify(0x00000000, 0x02000000); #endif } - diff --git a/src/mainboard/intel/xe7501devkit/romstage.c b/src/mainboard/intel/xe7501devkit/romstage.c index 4505cf2c91..f270427175 100644 --- a/src/mainboard/intel/xe7501devkit/romstage.c +++ b/src/mainboard/intel/xe7501devkit/romstage.c @@ -78,4 +78,3 @@ static void main(unsigned long bist) // if the following line is removed. print_debug("SDRAM is up.\n"); } - -- cgit v1.2.3