Hi Patrick On 9/23/22 13:38, Patrice CHOTARD wrote: > Hi > > On 9/12/22 17:40, Patrick Delaunay wrote: >> From: Christophe Kerello <[email protected]> >> >> Current compatible string used to update SPI NAND and SPI NOR devices >> can lead to a wrong partitions update (for example, SPI NAND partitions >> added to SPI NOR node in the device tree). To avoid this wrong behavior, >> use jedec,spi-nor compatible string for SPI NOR devices and spi-nand >> compatible string for SPI NAND devices. >> >> Signed-off-by: Christophe Kerello <[email protected]> >> Signed-off-by: Patrick Delaunay <[email protected]> >> --- >> >> board/st/stm32mp1/stm32mp1.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c >> index 8c162b42a59..7dc26f850ff 100644 >> --- a/board/st/stm32mp1/stm32mp1.c >> +++ b/board/st/stm32mp1/stm32mp1.c >> @@ -898,8 +898,8 @@ int mmc_get_env_dev(void) >> int ft_board_setup(void *blob, struct bd_info *bd) >> { >> static const struct node_info nodes[] = { >> - { "st,stm32f469-qspi", MTD_DEV_TYPE_NOR, }, >> - { "st,stm32f469-qspi", MTD_DEV_TYPE_SPINAND}, >> + { "jedec,spi-nor", MTD_DEV_TYPE_NOR, }, >> + { "spi-nand", MTD_DEV_TYPE_SPINAND}, >> { "st,stm32mp15-fmc2", MTD_DEV_TYPE_NAND, }, >> { "st,stm32mp1-fmc2-nfc", MTD_DEV_TYPE_NAND, }, >> }; > > Reviewed-by: Patrice Chotard <[email protected]> > > Thanks > Patrice
Applied on u-boot-stm32/next Thanks PAtrice

