summaryrefslogtreecommitdiff
path: root/src/southbridge/broadcom/bcm5785
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2017-01-02 13:14:18 +0100
committerPatrick Georgi <pgeorgi@google.com>2017-01-03 22:15:52 +0100
commit384ebc610d5a514586b2b56e6b5f1601fda4d3e5 (patch)
tree26eed8cb0f13a6e64f7cb694aa963a8eedc3b4cc /src/southbridge/broadcom/bcm5785
parentfe2fc8393632c90b17b9415bdc496d9c38b1f156 (diff)
downloadcoreboot-384ebc610d5a514586b2b56e6b5f1601fda4d3e5.tar.xz
broadcom/bcm5785: don't treat KBC-DATA as COM1
Add a break statement instead. While there, fix a bunch of typos in comments. Change-Id: I465c0188d4b46eabf8d17e69fa0fdc6a9c2ad66e Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Found-by: Coverity Scan #1229645 Reviewed-on: https://review.coreboot.org/18013 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/broadcom/bcm5785')
-rw-r--r--src/southbridge/broadcom/bcm5785/lpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/broadcom/bcm5785/lpc.c b/src/southbridge/broadcom/bcm5785/lpc.c
index 59ba798756..cc285a3ca4 100644
--- a/src/southbridge/broadcom/bcm5785/lpc.c
+++ b/src/southbridge/broadcom/bcm5785/lpc.c
@@ -87,18 +87,18 @@ static void bcm5785_lpc_enable_childrens_resources(device_t dev)
switch(base) {
case 0x60: //KBC
case 0x64:
- reg |= (1<<29);
+ reg |= (1<<29); break;
case 0x3f8: // COM1
reg |= (1<<6); break;
case 0x2f8: // COM2
reg |= (1<<7); break;
- case 0x378: // Parallal 1
+ case 0x378: // Parallel 1
reg |= (1<<0); break;
case 0x3f0: // FD0
reg |= (1<<26); break;
- case 0x220: // Aduio 0
+ case 0x220: // Audio 0
reg |= (1<<14); break;
- case 0x300: // Midi 0
+ case 0x300: // MIDI 0
reg |= (1<<18); break;
}
}