targets: fomu: support building with a cpu
Allow the user to specify a CPU. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
e94c6c8f27
commit
348677598d
|
@ -164,11 +164,13 @@ class BaseSoC(SoCCore):
|
||||||
raise ValueError("unrecognized fomu board: {}".format(board))
|
raise ValueError("unrecognized fomu board: {}".format(board))
|
||||||
platform = Platform()
|
platform = Platform()
|
||||||
|
|
||||||
|
if "cpu_type" not in kwargs:
|
||||||
|
kwargs["cpu_type"] = None
|
||||||
|
kwargs["cpu_variant"] = None
|
||||||
|
|
||||||
clk_freq = int(12e6)
|
clk_freq = int(12e6)
|
||||||
|
|
||||||
SoCCore.__init__(self, platform, clk_freq,
|
SoCCore.__init__(self, platform, clk_freq,
|
||||||
cpu_type=None,
|
|
||||||
cpu_variant=None,
|
|
||||||
integrated_sram_size=0,
|
integrated_sram_size=0,
|
||||||
with_uart=False,
|
with_uart=False,
|
||||||
with_ctrl=False,
|
with_ctrl=False,
|
||||||
|
|
Loading…
Reference in New Issue