diff options
author | Miquel Raynal | 2018-09-29 12:58:26 +0200 |
---|---|---|
committer | Jagan Teki | 2018-10-02 22:12:32 +0530 |
commit | ff4afa8a981e22eef670c7c857cb87983346cc2c (patch) | |
tree | 5cae4249b100a171b6e725b45c7b8dc4b1543b60 /drivers/video | |
parent | 21cc1fb5af06e468c74ae601bac719d306523f9c (diff) |
mtd: uboot: search for an equivalent MTD name with the mtdids
Using an MTD device (resp. partition) name in mtdparts is simple and
straightforward. However, for a long time already, another name was
given in mtdparts to indicate a device (resp. partition) so the
"mtdids" environment variable was created to do the match.
Let's create a function that, from an MTD device (resp. partition)
name, search for the equivalent name in the "mtdparts" environment
variable thanks to the "mtdids" string.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions