projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify a few code chunks, fix whitespace and indentation.
[coreboot.git]
/
src
/
mainboard
/
tyan
/
s2735
/
romstage.c
diff --git
a/src/mainboard/tyan/s2735/romstage.c
b/src/mainboard/tyan/s2735/romstage.c
index 4f954581135635a359fb2f7899b3912ef35047d7..c7c5eb036a386ae528d813a118fbcb369d9a8f5d 100644
(file)
--- a/
src/mainboard/tyan/s2735/romstage.c
+++ b/
src/mainboard/tyan/s2735/romstage.c
@@
-46,9
+46,8
@@
void main(unsigned long bist)
},
};
},
};
- if (bist == 0)
{
+ if (bist == 0)
enable_lapic();
enable_lapic();
- }
w83627hf_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
uart_init();
w83627hf_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
uart_init();
@@
-57,15
+56,12
@@
void main(unsigned long bist)
/* Halt if there was a built in self test failure */
report_bist_failure(bist);
/* Halt if there was a built in self test failure */
report_bist_failure(bist);
- if
(bios_reset_detected()) {
+ if
(bios_reset_detected())
hard_reset();
hard_reset();
- }
enable_smbus();
#if 0
dump_spd_registers(&memctrl[0]);
enable_smbus();
#if 0
dump_spd_registers(&memctrl[0]);
-#endif
-#if 0
dump_smbus_registers();
#endif
dump_smbus_registers();
#endif
@@
-79,4
+75,3
@@
void main(unsigned long bist)
dump_pci_device(PCI_DEV(0, 0, 0));
#endif
}
dump_pci_device(PCI_DEV(0, 0, 0));
#endif
}
-