UPSTREAM: 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 BUG=None BRANCH=None Change-Id: I04b2b635c4d61c192b0851cf5b3cae2f61538b36 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/16069 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-on: https://chromium-review.googlesource.com/368710 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
39edc8f030
commit
4d399844a4
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue