]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: st: stm32mp1: use of correct compatible string to add partitions
authorChristophe Kerello <christophe.kerello@foss.st.com>
Mon, 12 Sep 2022 15:40:50 +0000 (17:40 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 23 Sep 2022 12:26:57 +0000 (14:26 +0200)
commit89f3745152ab1a88eb9b6629a12b4ff0efe8c61b
treee2387faec3060b15358ee47998dbc2339bde834a
parent450036f4eff2f9bccb13355d7d96edf217f91ed9
board: st: stm32mp1: use of correct compatible string to add partitions

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 <christophe.kerello@foss.st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
board/st/stm32mp1/stm32mp1.c