summaryrefslogtreecommitdiff
path: root/sb600spi.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2018-12-19 12:04:30 +0000
committerNico Huber <nico.h@gmx.de>2019-02-11 23:50:12 +0000
commitdb7482bb72035fab8386226d1720cde09e0c700e (patch)
tree8a2114a45c22a44e01d8494f224b38c35b17cb71 /sb600spi.c
parente2cbb12f2209a0ba16bc87e31d544fd7fc47f0e2 (diff)
downloadflashrom-git-db7482bb72035fab8386226d1720cde09e0c700e.tar.gz
Fix several -Wno-implicit-fallthrough warnings
GCC is picky about the comment being where the break should go. Change-Id: I05db2fb34025fefe2c6ddd1274c8e45b7cc5a4b6 Signed-off-by: Richard Hughes <richard@hughsie.com> Reviewed-on: https://review.coreboot.org/c/30406 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'sb600spi.c')
-rw-r--r--sb600spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sb600spi.c b/sb600spi.c
index 1e2e5d5a..1efb2ce8 100644
--- a/sb600spi.c
+++ b/sb600spi.c
@@ -638,6 +638,7 @@ int sb600_probe_spi(struct pci_dev *dev)
switch (amd_gen) {
case CHIPSET_SB7XX:
msg_pdbg(", DropOneClkOnRd/SpiClkGate=%i", (tmp >> 28) & 0x1);
+ /* Fall through. */
case CHIPSET_SB89XX:
case CHIPSET_HUDSON234:
case CHIPSET_YANGTZE: