l4t: use strtol for sld_type

This commit is contained in:
CTCaer
2025-04-30 09:27:34 +03:00
parent 75bac23d01
commit 85fa62cafc

View File

@@ -889,7 +889,7 @@ static void _l4t_set_config(l4t_ctxt_t *ctxt, const ini_sec_t *ini_sec, int entr
else if (!strcmp("uart_port", kv->key))
ctxt->serial_port = atoi(kv->val);
else if (!strcmp("sld_type", kv->key))
ctxt->sld_type = atoi(kv->val);
ctxt->sld_type = strtol(kv->val, NULL, 16);
// Set key/val to BL33 env.
_l4t_bl33_cfg_set_key(bl33_env, kv->key, kv->val);