soc/*: Use __fallthrough statement

Clang needs an attribute not a comment.

Change-Id: I78f87d80bd4f366ed6cfa74619dd107ac61bc935
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63068
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Arthur Heymans 2022-03-24 01:16:34 +01:00
parent cc70646255
commit 507b0746d6
2 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ static void mbist_workaround(void)
break;
case OP_UDELAY:
udelay(wa_op->val);
/* fall thru */
__fallthrough;
default:
continue;
}

View File

@ -63,7 +63,7 @@ void rk_display_init(struct device *dev, u32 lcdbase, unsigned long fb_size)
if (conf->vop_mode == VOP_MODE_EDP)
return;
}
/* fall thru */
__fallthrough;
case VOP_MODE_HDMI:
printk(BIOS_DEBUG, "Attempting to setup HDMI display.\n");
rkclk_configure_hdmi();
@ -78,7 +78,7 @@ void rk_display_init(struct device *dev, u32 lcdbase, unsigned long fb_size)
if (conf->vop_mode == VOP_MODE_HDMI)
return;
}
/* fall thru */
__fallthrough;
default:
printk(BIOS_WARNING, "Cannot read any edid info, aborting.\n");
return;