Searched hist:"4 ac4e964c5de70d65a3ddc93247785e14feef0fa" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | mtd_uboot.c | 4ac4e964c5de70d65a3ddc93247785e14feef0fa Sun Dec 02 09:54:26 UTC 2018 Boris Brezillon <boris.brezillon@bootlin.com> UPSTREAM: mtd: Use get_mtdids() instead of env_get("mtdids") in mtd_search_alternate_name()
The environment is not guaranteed to contain a valid mtdids variable when called from mtd_search_alternate_name(). Call get_mtdids() instead of env_get("mtdids").
Fixes: ff4afa8a981e ("mtd: uboot: search for an equivalent MTD name with the mtdids") Change-Id: I6a0147009b60dd3c03799981971975fb40ce1283 Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Tested-by: Heiko Schocher <hs@denx.de> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 96b06434e56ce5dca391e8417d293132ff7164e0)
|