X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_gpt.c;h=a46f5cc3431a1b3e386247952aa227db06460622;hb=32d7cdd366a1516fa498464c261851f3a76a62ef;hp=efd7934bd7c2e82453309e76d20f75af5e4adcdc;hpb=1acba3345c6f707195d8f1cbac834436445279b3;p=u-boot diff --git a/common/cmd_gpt.c b/common/cmd_gpt.c index efd7934bd7..a46f5cc343 100644 --- a/common/cmd_gpt.c +++ b/common/cmd_gpt.c @@ -5,19 +5,7 @@ * author: Lukasz Majewski * author: Piotr Wilczek * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -173,7 +161,7 @@ static int set_gpt_info(block_dev_desc_t *dev_desc, /* allocate memory for partitions */ parts = calloc(sizeof(disk_partition_t), p_count); - /* retrive partions data from string */ + /* retrieve partitions data from string */ for (i = 0; i < p_count; i++) { tok = strsep(&s, ";"); @@ -328,7 +316,7 @@ static int do_gpt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) U_BOOT_CMD(gpt, CONFIG_SYS_MAXARGS, 1, do_gpt, "GUID Partition Table", - " \n" + " \n" " - GUID partition table restoration\n" " Restore GPT information on a device connected\n" " to interface\n"