[PATCH 13/18] arm: mach-k3: am62p: annotate switch/case fallthrough

Tom Rini trini at konsulko.com
Mon Mar 31 16:11:27 CEST 2025


On Thu, Mar 27, 2025 at 03:33:08PM +0000, Andre Przywara wrote:

> The MMC boot mode selection for the TI AM62P series of SoCs uses an
> implicit switch/case fallthrough for falling back to some default
> boot mode.
> 
> Add our "fallthrough;" statement-like macro before the default branch in
> the code, to avoid a warning when GCC's -Wimplicit-fallthrough warning
> option is enabled.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250331/af7e4c14/attachment.sig>


More information about the U-Boot mailing list