summaryrefslogtreecommitdiff
path: root/include/fsl_immap.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-09-29 12:58:26 +0200
committerJagan Teki <jagan@amarulasolutions.com>2018-10-02 22:12:32 +0530
commitff4afa8a981e22eef670c7c857cb87983346cc2c (patch)
tree5cae4249b100a171b6e725b45c7b8dc4b1543b60 /include/fsl_immap.h
parent21cc1fb5af06e468c74ae601bac719d306523f9c (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 'include/fsl_immap.h')
0 files changed, 0 insertions, 0 deletions