mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
cmd_mmc.c: Rename 'bootpart' to 'bootpart-resize'
Rename 'bootpart' to 'bootpart-resize' to better reflect what this command is for. Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
This commit is contained in:
parent
b01e6fe6c8
commit
f1fd957e12
1 changed files with 4 additions and 4 deletions
|
@ -312,9 +312,9 @@ static int do_mmcops(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||||
/* acknowledge to be sent during boot operation */
|
/* acknowledge to be sent during boot operation */
|
||||||
return boot_part_access(mmc, 1, part_num, access);
|
return boot_part_access(mmc, 1, part_num, access);
|
||||||
|
|
||||||
} else if (strcmp(argv[1], "bootpart") == 0) {
|
} else if (strcmp(argv[1], "bootpart-resize") == 0) {
|
||||||
int dev;
|
int dev;
|
||||||
struct *mmc;
|
struct mmc *mmc;
|
||||||
u32 bootsize, rpmbsize;
|
u32 bootsize, rpmbsize;
|
||||||
|
|
||||||
if (argc == 5) {
|
if (argc == 5) {
|
||||||
|
@ -449,8 +449,8 @@ U_BOOT_CMD(
|
||||||
" - Enable boot_part for booting and enable R/W access of boot_part\n"
|
" - Enable boot_part for booting and enable R/W access of boot_part\n"
|
||||||
"mmc close <dev> <boot_partition>\n"
|
"mmc close <dev> <boot_partition>\n"
|
||||||
" - Enable boot_part for booting and disable access to boot_part\n"
|
" - Enable boot_part for booting and disable access to boot_part\n"
|
||||||
"mmc bootpart <device num> <boot part size MB> <RPMB part size MB>\n"
|
"mmc bootpart-resize <dev> <boot part size MB> <RPMB part size MB>\n"
|
||||||
" - change sizes of boot and RPMB partitions of specified device\n"
|
" - Change sizes of boot and RPMB partitions of specified device\n"
|
||||||
#endif
|
#endif
|
||||||
"mmc setdsr - set DSR register value\n"
|
"mmc setdsr - set DSR register value\n"
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue