]> git.baikalelectronics.ru Git - uboot.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)
commitf837ddf30a3f23178584211f9a8e7d074764147f
tree8a4e19316db6dbf50f99158e596ea2e60d0a3e87
parent5dc60833a17b2d53f2c00a02e06889f1ae9265d4
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