arm: mach-k3: am62p: annotate switch/case fallthrough
authorAndre Przywara <andre.przywara@arm.com>
Thu, 27 Mar 2025 15:33:08 +0000 (15:33 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 8 Apr 2025 22:23:51 +0000 (16:23 -0600)
commitbc3e28e11b7a8b0fb1765556642409e4006a33f7
tree5b457cb78eb7bf68a880673fc5537516d128a0de
parent64bc0124581b49093f5c348f5debe8889a56fedd
arm: mach-k3: am62p: annotate switch/case fallthrough

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@arm.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-k3/am62px/am62p5_init.c