]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: Parse mtdparts/mtdids again when the MTD list has been updated
authorBoris Brezillon <boris.brezillon@bootlin.com>
Sun, 2 Dec 2018 09:54:23 +0000 (10:54 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 5 Dec 2018 19:15:36 +0000 (00:45 +0530)
commit26b3aa22d2e9f40b2dbffa6a85c58a6730481a41
tree7d684b290883f483b076e1b5ade1347d22e08b41
parent87e7a94ccf6c2fbf5e1106a5eecc3c37ed8a915d
mtd: Parse mtdparts/mtdids again when the MTD list has been updated

Updates to the MTD device list should trigger a new parsing of the
mtdids/mtdparts vars even if those vars haven't changed.

Fixes: 3a11299ea117 ("cmd: mtd: add 'mtd' command")
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Tested-by: Heiko Schocher <hs@denx.de>
drivers/mtd/mtd_uboot.c