diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-10-03 08:04:38 -0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-07 08:21:13 -0400 |
commit | f501991dcaa5ab633973b2887451daee5e70c6c8 (patch) | |
tree | 96e00bb2ce96926341da917e4767ae6a8e9b8960 | |
parent | a6abaadcfa69d02aafc51b22a39b8dbde1a7a76c (diff) | |
download | u-boot-imx-f501991dcaa5ab633973b2887451daee5e70c6c8.zip u-boot-imx-f501991dcaa5ab633973b2887451daee5e70c6c8.tar.gz u-boot-imx-f501991dcaa5ab633973b2887451daee5e70c6c8.tar.bz2 |
mtd: Fix function description in part_validate comment
The part_validate comment had a wrong description of the actions it
does and referenced to non-existent functions while in fact it calls
'part_validate_eraseblock()'.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | common/cmd_mtdparts.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c index 38a6e6d..f791372 100644 --- a/common/cmd_mtdparts.c +++ b/common/cmd_mtdparts.c @@ -381,10 +381,9 @@ static int part_validate_eraseblock(struct mtdids *id, struct part_info *part) /** - * Performs sanity check for supplied partition. Offset and size are verified - * to be within valid range. Partition type is checked and either - * parts_validate_nor() or parts_validate_nand() is called with the argument - * of part. + * Performs sanity check for supplied partition. Offset and size are + * verified to be within valid range. Partition type is checked and + * part_validate_eraseblock() is called with the argument of part. * * @param id of the parent device * @param part partition to validate |