hekate/nyx: remove coreboot support

Everything external is finally updated and beyond parity with old things that needed it.
This commit is contained in:
CTCaer
2026-01-12 04:04:08 +02:00
parent 8ab6f04243
commit f0dde780f4
5 changed files with 49 additions and 122 deletions

View File

@@ -1,7 +1,7 @@
/*
* L4T Loader for Tegra X1
*
* Copyright (c) 2020-2025 CTCaer
* Copyright (c) 2020-2026 CTCaer
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -271,7 +271,7 @@ typedef struct _l4t_ctxt_t
int ram_oc_opt;
u32 serial_port;
u32 sld_type;
bool sld_type;
u32 sc7entry_size;
@@ -863,7 +863,7 @@ static void _l4t_set_config(l4t_ctxt_t *ctxt, const ini_sec_t *ini_sec, int entr
char val[4] = {0};
// Set default SLD type.
ctxt->sld_type = BL_MAGIC_L4TLDR_SLD;
ctxt->sld_type = true;
// Parse ini section and prepare BL33 env.
LIST_FOREACH_ENTRY(ini_kv_t, kv, &ini_sec->kvs, link)
@@ -899,7 +899,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 = strtol(kv->val, NULL, 16);
ctxt->sld_type = atoi(kv->val);
// Set key/val to BL33 env.
_l4t_bl33_cfg_set_key(bl33_env, kv->key, kv->val);
@@ -1166,7 +1166,7 @@ void launch_l4t(const ini_sec_t *ini_sec, int entry_idx, int is_list, bool t210b
_l4t_mc_config_carveout(t210b01);
// Deinit any unneeded HW.
hw_deinit(false, ctxt->sld_type);
hw_deinit(ctxt->sld_type);
// Do late hardware config.
_l4t_late_hw_config(t210b01);