]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: probe SPI NOR devices in mtd_probe_devices()
authorMarek Behún <marek.behun@nic.cz>
Wed, 26 May 2021 12:08:23 +0000 (14:08 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Jun 2021 06:24:32 +0000 (11:54 +0530)
commit3c58c79b5ff1fb75780be18b86d1ae64b19c2136
tree8a4e19316db6dbf50f99158e596ea2e60d0a3e87
parent69e57c4753dd5428e9e5ed6d1399c8532f744efc
mtd: probe SPI NOR devices in mtd_probe_devices()

In order for `mtd list` U-Boot command to list SPI NOR devices without
the need to run `sf probe` before, we have to probe SPI NOR devices in
mtd_probe_devices().

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Cc: Priyanka Jain <priyanka.jain@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
drivers/mtd/mtd_uboot.c