src: Add required space after "switch"
Change-Id: I85cf93e30606bc7838852bd300a369e79370629a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/29623
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
diff --git a/src/northbridge/amd/agesa/family14/amdfam14_conf.c b/src/northbridge/amd/agesa/family14/amdfam14_conf.c
index f78e3f5..0eabaa8 100644
--- a/src/northbridge/amd/agesa/family14/amdfam14_conf.c
+++ b/src/northbridge/amd/agesa/family14/amdfam14_conf.c
@@ -126,7 +126,7 @@
{
u32 new_vendev = vendev;
- switch(vendev) {
+ switch (vendev) {
case 0x10029809:
case 0x10029808:
case 0x10029807:
diff --git a/src/northbridge/amd/agesa/family15tn/northbridge.c b/src/northbridge/amd/agesa/family15tn/northbridge.c
index 0361a77..ae0830c 100644
--- a/src/northbridge/amd/agesa/family15tn/northbridge.c
+++ b/src/northbridge/amd/agesa/family15tn/northbridge.c
@@ -964,7 +964,7 @@
{
u32 new_vendev = vendev;
- switch(vendev) {
+ switch (vendev) {
case 0x10029900: /* AMD Radeon HD 7660G (Trinity) */
case 0x10029901: /* AMD Radeon HD 7660D (Trinity) */
case 0x10029903: /* AMD Radeon HD 7640G (Trinity) */
diff --git a/src/northbridge/amd/agesa/family16kb/northbridge.c b/src/northbridge/amd/agesa/family16kb/northbridge.c
index b3b0ba1..03db042 100644
--- a/src/northbridge/amd/agesa/family16kb/northbridge.c
+++ b/src/northbridge/amd/agesa/family16kb/northbridge.c
@@ -989,7 +989,7 @@
{
u32 new_vendev = vendev;
- switch(vendev) {
+ switch (vendev) {
case 0x10029830:
case 0x10029831:
case 0x10029832:
diff --git a/src/northbridge/amd/amdht/h3ncmn.c b/src/northbridge/amd/amdht/h3ncmn.c
index 6173f17..abb7458 100644
--- a/src/northbridge/amd/amdht/h3ncmn.c
+++ b/src/northbridge/amd/amdht/h3ncmn.c
@@ -1252,7 +1252,7 @@
******************************************************************************/
static u8 convertBitsToWidth(u8 value, cNorthBridge *nb)
{
- switch(value) {
+ switch (value) {
case 1: return 16;
case 0: return 8;
case 5: return 4;
diff --git a/src/northbridge/amd/amdht/ht_wrapper.c b/src/northbridge/amd/amdht/ht_wrapper.c
index 05b8d12..d005223 100644
--- a/src/northbridge/amd/amdht/ht_wrapper.c
+++ b/src/northbridge/amd/amdht/ht_wrapper.c
@@ -132,7 +132,7 @@
}
printk(log_level, ": ");
- switch(event) {
+ switch (event) {
case HT_EVENT_COH_EVENTS:
case HT_EVENT_COH_NO_TOPOLOGY:
case HT_EVENT_COH_LINK_EXCEED:
diff --git a/src/northbridge/intel/x4x/raminit_ddr23.c b/src/northbridge/intel/x4x/raminit_ddr23.c
index 4e5c0ce..32fa0d9 100644
--- a/src/northbridge/intel/x4x/raminit_ddr23.c
+++ b/src/northbridge/intel/x4x/raminit_ddr23.c
@@ -820,7 +820,7 @@
FOR_EACH_POPULATED_CHANNEL(s->dimms, i) {
const struct dll_setting *setting;
- switch(s->selected_timings.mem_clk) {
+ switch (s->selected_timings.mem_clk) {
default: /* Should not happen */
case MEM_CLOCK_667MHz:
setting = default_ddr2_667_ctrl;