diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-11-21 17:29:59 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-11-21 17:29:59 +0000 |
commit | 57b2ff886e0ce2c92820f5722c8031def3ac94cf (patch) | |
tree | 3bf95eb33cd3de0b8f2bae495b3ae1453601c4d3 /src/mainboard/intel | |
parent | 5244e1ba63e5f3ea12066734bfb0d864a8f1f11d (diff) | |
download | coreboot-57b2ff886e0ce2c92820f5722c8031def3ac94cf.tar.xz |
Drop excessive whitespace randomly sprinkled in romstage.c files.
Also drop some dead or useless code snippets.
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@6107 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/intel')
-rw-r--r-- | src/mainboard/intel/d945gclf/romstage.c | 10 | ||||
-rw-r--r-- | src/mainboard/intel/eagleheights/romstage.c | 5 | ||||
-rw-r--r-- | src/mainboard/intel/jarrell/romstage.c | 7 | ||||
-rw-r--r-- | src/mainboard/intel/mtarvon/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/intel/truxton/romstage.c | 1 | ||||
-rw-r--r-- | src/mainboard/intel/xe7501devkit/romstage.c | 1 |
6 files changed, 3 insertions, 23 deletions
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 <device/pnp_def.h> #include <cpu/x86/lapic.h> #include <lib.h> - #include "superio/smsc/lpc47m15x/lpc47m15x.h" - #include <pc80/mc146818rtc.h> - #include <console/console.h> #include <usbdebug.h> #include <cpu/x86/bist.h> - #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 <delay.h> - #include <stdint.h> #include <arch/io.h> #include <arch/romcc_io.h> #include <device/pci_def.h> #include <device/pnp_def.h> #include <cpu/x86/lapic.h> - #include <pc80/mc146818rtc.h> - #include <console/console.h> #include <cpu/x86/bist.h> #include <cpu/intel/acpi.h> - #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); @@ -128,10 +129,4 @@ static void main(unsigned long bist) #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 <stdint.h> @@ -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"); } - |