-From f10a2fabde406a47c68ba22b47d64bf8133f88b0 Mon Sep 17 00:00:00 2001
+From 17a3af39691b7cf28ca369cca475ee4efe30bd4b Mon Sep 17 00:00:00 2001
 From: Razvan Becheriu <razvan@isc.org>
 Date: Sat, 26 Oct 2019 20:59:28 +0300
 Subject: [PATCH] added block command which returns the block size
 
+Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
 ---
- cmd/part.c | 14 ++++++++++++++
- 1 file changed, 14 insertions(+)
+ cmd/part.c | 16 +++++++++++++++-
+ 1 file changed, 15 insertions(+), 1 deletion(-)
 
 diff --git a/cmd/part.c b/cmd/part.c
-index 5e4e45ca6d..d78d914e7a 100644
+index 216f14bf5d..70398825db 100644
 --- a/cmd/part.c
 +++ b/cmd/part.c
 @@ -25,6 +25,7 @@

 	"    - set environment variable to the partition number using the partition name\n"
 	"      part must be specified as partition name"
-- 
2.20.1


 	case CMD_PART_INFO_NUMBER:
 		snprintf(buf, sizeof(buf), "0x%x", part);
 		break;
@@ -177,7 +181,12 @@ static int do_part_size(int argc, char *const argv[])
 	return do_part_info(argc, argv, CMD_PART_INFO_SIZE);
 }
 
-static int do_part_number(int argc, char *const argv[])
+static int do_part_block(int argc, char * const argv[])
+{
+	return do_part_info(argc, argv, CMD_PART_INFO_BLOCK);
+}
+
+static int do_part_number(int argc, char * const argv[])
 {
 	return do_part_info(argc, argv, CMD_PART_INFO_NUMBER);
 }
@@ -196,6 +205,8 @@ static int do_part(struct cmd_tbl *cmdtp, int flag, int argc,
 		return do_part_start(argc - 2, argv + 2);
 	else if (!strcmp(argv[1], "size"))
 		return do_part_size(argc - 2, argv + 2);
