board: stm32mp1: add support of nor1 device in dfu command
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 25 Nov 2021 10:54:53 +0000 (11:54 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 30 Nov 2021 15:43:28 +0000 (16:43 +0100)
commitc7c06fa776b3a553df922259908fad12cfa0e1e8
treef94ce46957d293818880dec4baff2f938dbc560c
parentb2ac9645e6989f06382909f7230c1b1fd5b4df2c
board: stm32mp1: add support of nor1 device in dfu command

Add support of mtd backend for nor1 when this device is present on the
board, on STM32MP157C-EV1 for example, as the support of several MTD
spi-nor instance are now supported with commit b7f060565e31 ("mtd:
spi-nor: allow registering multiple MTDs when DM is enabled").

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
board/st/common/stm32mp_dfu.c
doc/board/st/stm32mp1.rst