summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-03-30 13:30:12 -0600
committerMartin Roth <martinroth@google.com>2016-03-31 23:05:32 +0200
commite35db2c6eb66945d443f60ad2ba6e0e0fed27ad1 (patch)
treef2dc25a412a5794f9bf5eb06355d28dad400cd40 /src
parentc00f4d669dd03bf5a4ee8c255bb71fc86f229239 (diff)
src/: Fix lint style-labels warnings
The lint-stable-004-style-labels check tries to verify that labels in c and asm files start at the first column, and don't have whitespace in front of them. This fixes the 2 actual violations of the lint check. Change-Id: Ia11a90d7301e62a116c7a9ef9b4c2bc3f982b308 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/14193 Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src')
-rw-r--r--src/cpu/allwinner/a10/raminit.c2
-rw-r--r--src/cpu/amd/family_10h-family_15h/processor_name.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/allwinner/a10/raminit.c b/src/cpu/allwinner/a10/raminit.c
index e917e6ea7b..f3b39cb466 100644
--- a/src/cpu/allwinner/a10/raminit.c
+++ b/src/cpu/allwinner/a10/raminit.c
@@ -317,7 +317,7 @@ static int dramc_scan_dll_para(void)
return dramc_scan_readpipe();
}
- fail:
+fail:
clrbits_le32(&dram->dllcr[0], 0x3f << 6);
for (cr_i = 1; cr_i < 5; cr_i++)
clrbits_le32(&dram->dllcr[cr_i], 0x4f << 14);
diff --git a/src/cpu/amd/family_10h-family_15h/processor_name.c b/src/cpu/amd/family_10h-family_15h/processor_name.c
index ac0392b7d9..3d92ee2fd4 100644
--- a/src/cpu/amd/family_10h-family_15h/processor_name.c
+++ b/src/cpu/amd/family_10h-family_15h/processor_name.c
@@ -340,7 +340,7 @@ int init_processor_name(void)
}
}
- done:
+done:
strcpymax(&program_string[j], processor_name_string,
sizeof(program_string) - j);
}