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: bfebc8c965 ("env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()")
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
Andrew F. Davis 2018-02-14 11:53:38 -06:00 committed by Tom Rini
parent 5fbed8f2c6
commit 952c346272

View file

@ -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())