From: Andrew F. Davis Date: Wed, 14 Feb 2018 17:53:38 +0000 (-0600) Subject: env: Fix missed getenv_ulong to env_get_ulong conversion X-Git-Tag: v2018.03-rc4~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=952c346272dbf1f5fac8c2ca7ee6def858ea0ffd;p=platform%2Fkernel%2Fu-boot.git env: Fix missed getenv_ulong to env_get_ulong conversion This seems to have been missed, possibly due to the inability to enable TI_SECURE_DEVICE on Keystone2 devices previously. Fixes: bfebc8c965e4 ("env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()") Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla --- diff --git a/board/ti/ks2_evm/board_k2g.c b/board/ti/ks2_evm/board_k2g.c index 88df419..b9575a8 100644 --- a/board/ti/ks2_evm/board_k2g.c +++ b/board/ti/ks2_evm/board_k2g.c @@ -376,7 +376,7 @@ int get_num_eth_ports(void) #ifdef CONFIG_TI_SECURE_DEVICE void board_pmmc_image_process(ulong pmmc_image, size_t pmmc_size) { - int id = getenv_ulong("dev_pmmc", 10, 0); + int id = env_get_ulong("dev_pmmc", 10, 0); int ret; if (!rproc_is_initialized())