diff options
Diffstat (limited to 'common/cmd_mtdparts.c')
| -rw-r--r-- | common/cmd_mtdparts.c | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c index 3023479d1..f791372de 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 @@ -420,7 +419,7 @@ static int part_validate(struct mtdids *id, struct part_info *part)  }  /** - * Delete selected partition from the partion list of the specified device. + * Delete selected partition from the partition list of the specified device.   *   * @param dev device to delete partition from   * @param part partition to delete |