summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2014-02-11 17:13:27 -0800
committerMarc Jones <marc.jones@se-eng.com>2014-12-19 23:47:39 +0100
commit3787d5b36abb6735046a16e2195fb4057dacb07c (patch)
tree04d693b12b4237b46613d10dded7f5254388aa16 /src/mainboard
parent86bd91a69a3fb285ce0ec2c3842d879035ee1269 (diff)
qemu-armv7: Trivial style fixes
Minor style fixes to avoid future bikeshedding. - Opening brace for functions go on their own lines. - use fixed-length types where appropriate. BUG=none BRANCH=none TEST=it compiles Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Change-Id: If9855d32c8ed1f5977937806c8c4cce65dd7d450 Original-Reviewed-on: https://chromium-review.googlesource.com/196955 Original-Reviewed-by: David Hendricks <dhendrix@chromium.org> Original-Commit-Queue: David Hendricks <dhendrix@chromium.org> Original-Tested-by: David Hendricks <dhendrix@chromium.org> Original-Reviewed-by: Hung-Te Lin <hungte@chromium.org> (cherry picked from commit e2bfeed18636af6b532e2e8f118de22a658fe41b) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Conflicts: src/mainboard/emulation/qemu-armv7/uart.c Change-Id: I8e09db53534802262168e65ec4cd47b96386490a Reviewed-on: http://review.coreboot.org/7867 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/emulation/qemu-armv7/timer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/timer.c b/src/mainboard/emulation/qemu-armv7/timer.c
index 53c378940d..b479d428f9 100644
--- a/src/mainboard/emulation/qemu-armv7/timer.c
+++ b/src/mainboard/emulation/qemu-armv7/timer.c
@@ -14,11 +14,13 @@
*/
void udelay(unsigned int n);
-void udelay(unsigned int n) {
+void udelay(unsigned int n)
+{
/* TODO provide delay here. */
}
int init_timer(void);
-int init_timer(void) {
+int init_timer(void)
+{
return 0;
}