mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 14:48:17 +01:00
mtd: spi-nor: missing fallthrough in set_4byte()
Add a missing fallthrough macro to avoid a -Wimplicit-fallthrough warning. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
parent
0514227e19
commit
24c27b3c6c
@ -669,6 +669,7 @@ static int set_4byte(struct spi_nor *nor, const struct flash_info *info,
|
|||||||
case SNOR_MFR_MICRON:
|
case SNOR_MFR_MICRON:
|
||||||
/* Some Micron need WREN command; all will accept it */
|
/* Some Micron need WREN command; all will accept it */
|
||||||
need_wren = true;
|
need_wren = true;
|
||||||
|
fallthrough;
|
||||||
case SNOR_MFR_ISSI:
|
case SNOR_MFR_ISSI:
|
||||||
case SNOR_MFR_MACRONIX:
|
case SNOR_MFR_MACRONIX:
|
||||||
case SNOR_MFR_WINBOND:
|
case SNOR_MFR_WINBOND:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user