litex_json2dts_linux: Switch to cpu_name instead of cpu_human_name.
This commit is contained in:
parent
49f12ea297
commit
c2fd1e9a49
|
@ -23,14 +23,14 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
|
|||
cpu_architectures = {
|
||||
"mor1kx" : "or1k",
|
||||
"marocchino" : "or1k",
|
||||
"vexriscv smp-linux" : "riscv",
|
||||
"rocketrv64[imac]" : "riscv",
|
||||
"vexriscv" : "riscv",
|
||||
"rocket" : "riscv",
|
||||
"naxriscv" : "riscv",
|
||||
}
|
||||
|
||||
# CPU Parameters -------------------------------------------------------------------------------
|
||||
ncpus = int(d["constants"].get("config_cpu_count", 1))
|
||||
cpu_name = d["constants"].get("config_cpu_human_name")
|
||||
cpu_name = d["constants"].get("config_cpu_name")
|
||||
cpu_arch = cpu_architectures[cpu_name]
|
||||
cpu_isa = d["constants"].get("config_cpu_isa", None)
|
||||
cpu_mmu = d["constants"].get("config_cpu_mmu", None)
|
||||
|
|
Loading…
Reference in New Issue