cpu/vexriscv_smp/core: Only use Linux variant (Since similar to standard).
This commit is contained in:
parent
9ee9eb16a4
commit
a426ec9e2f
|
@ -20,13 +20,6 @@ import os
|
||||||
|
|
||||||
class Open(Signal): pass
|
class Open(Signal): pass
|
||||||
|
|
||||||
# Variants -----------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
CPU_VARIANTS = {
|
|
||||||
"standard": "VexRiscv",
|
|
||||||
"linux": "VexRiscv", # Similar to standard.
|
|
||||||
}
|
|
||||||
|
|
||||||
# VexRiscv SMP -------------------------------------------------------------------------------------
|
# VexRiscv SMP -------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class VexRiscvSMP(CPU):
|
class VexRiscvSMP(CPU):
|
||||||
|
@ -34,7 +27,7 @@ class VexRiscvSMP(CPU):
|
||||||
family = "riscv"
|
family = "riscv"
|
||||||
name = "vexriscv"
|
name = "vexriscv"
|
||||||
human_name = "VexRiscv SMP"
|
human_name = "VexRiscv SMP"
|
||||||
variants = CPU_VARIANTS
|
variants = ["standard", "linux"]
|
||||||
data_width = 32
|
data_width = 32
|
||||||
endianness = "little"
|
endianness = "little"
|
||||||
gcc_triple = CPU_GCC_TRIPLE_RISCV32
|
gcc_triple = CPU_GCC_TRIPLE_RISCV32
|
||||||
|
@ -271,8 +264,8 @@ class VexRiscvSMP(CPU):
|
||||||
|
|
||||||
def __init__(self, platform, variant):
|
def __init__(self, platform, variant):
|
||||||
self.platform = platform
|
self.platform = platform
|
||||||
self.variant = "standard"
|
self.variant = "linux"
|
||||||
self.human_name = self.human_name + "-" + variant.upper()
|
self.human_name = self.human_name + "-" + self.variant.upper()
|
||||||
self.reset = Signal()
|
self.reset = Signal()
|
||||||
self.jtag_clk = Signal()
|
self.jtag_clk = Signal()
|
||||||
self.jtag_enable = Signal()
|
self.jtag_enable = Signal()
|
||||||
|
|
|
@ -33,9 +33,9 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
|
||||||
|
|
||||||
# Boot Arguments -------------------------------------------------------------------------------
|
# Boot Arguments -------------------------------------------------------------------------------
|
||||||
cpu_architectures = {
|
cpu_architectures = {
|
||||||
"mor1kx": "or1k",
|
"mor1kx" : "or1k",
|
||||||
"marocchino": "or1k",
|
"marocchino" : "or1k",
|
||||||
"vexriscv smp-linux": "riscv",
|
"vexriscv smp-linux" : "riscv",
|
||||||
}
|
}
|
||||||
default_initrd_start = {
|
default_initrd_start = {
|
||||||
"or1k": 8*mB,
|
"or1k": 8*mB,
|
||||||
|
|
Loading…
Reference in New Issue