From: Peng Fan Date: Thu, 15 Jun 2023 10:09:07 +0000 (+0800) Subject: imx: ele_ahab: use hextoul X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ef5bdfc273c8562da80091a6f63910b6cabf8f4a;p=u-boot.git imx: ele_ahab: use hextoul Use hextoul which looks a bit simpler. Signed-off-by: Peng Fan --- diff --git a/arch/arm/mach-imx/ele_ahab.c b/arch/arm/mach-imx/ele_ahab.c index 9bb3791963..5f23486304 100644 --- a/arch/arm/mach-imx/ele_ahab.c +++ b/arch/arm/mach-imx/ele_ahab.c @@ -402,7 +402,7 @@ static int do_authenticate(struct cmd_tbl *cmdtp, int flag, int argc, if (argc < 2) return CMD_RET_USAGE; - addr = simple_strtoul(argv[1], NULL, 16); + addr = hextoul(argv[1], NULL); printf("Authenticate OS container at 0x%lx\n", addr);