summaryrefslogtreecommitdiff
path: root/src/cpu/x86
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-08-09 20:52:21 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-08-11 17:03:45 +0200
commit20e2f3c6e4fb56d0242405fd3a6c229952dfaccd (patch)
tree808efa3fcd3ca6a1d1ad05e8c9caf9ff583fdcfd /src/cpu/x86
parente3cdbbeb8e320a53f5da24635dde08e68e3c5b00 (diff)
downloadcoreboot-20e2f3c6e4fb56d0242405fd3a6c229952dfaccd.tar.xz
x86/smm/smihandler.c: break case in switch
The case doesn't look like a deliberate fall-through, since the next case (SNB/IVB/HSW) is more specific than the one before it, so break out. Change-Id: I55497aefe9e835842a82121270f2b2a9952f560d Found-by: Coverity Scan Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/6571 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/cpu/x86')
-rw-r--r--src/cpu/x86/smm/smihandler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/x86/smm/smihandler.c b/src/cpu/x86/smm/smihandler.c
index fc30909ae8..c864df21f8 100644
--- a/src/cpu/x86/smm/smihandler.c
+++ b/src/cpu/x86/smm/smihandler.c
@@ -163,6 +163,7 @@ void smi_handler(u32 smm_revision)
state_save.type = EM64T;
state_save.em64t_state_save =
smm_save_state(smm_base, 0x7d00, node);
+ break;
case 0x00030101: /* SandyBridge, IvyBridge, and Haswell */
state_save.type = EM64T101;
state_save.em64t101_state_save =