From d924fac75942db4362af5dd026ef2b0768ffb5ce Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Fri, 5 Aug 2016 06:11:19 -0700 Subject: [PATCH] soc/intel/quark: Add missing breaks Add missing breaks in reg_access.c. TEST=Build and run on Galileo Gen2 Found-by: Converity Scan #1361261 Change-Id: I8be57f0758e5918a605e20ab9002747e0cc958e0 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/16069 Reviewed-by: Patrick Georgi Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/soc/intel/quark/reg_access.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/intel/quark/reg_access.c b/src/soc/intel/quark/reg_access.c index 3d530b9982..2ddb99b460 100644 --- a/src/soc/intel/quark/reg_access.c +++ b/src/soc/intel/quark/reg_access.c @@ -163,9 +163,11 @@ static void reg_cpu_cr_write(uint32_t reg_address, CRx_TYPE value) case 0: write_cr0(value); + break; case 4: write_cr4(value); + break; } }