gem5: fix kernel run, don't set --bare-metal with kernel

Broken on recent commit.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-04-03 02:00:01 +00:00
parent c0bc5cffed
commit 68f974f05f

2
run
View File

@@ -618,7 +618,7 @@ Extra options to append at the end of the emulator command line.
) )
if dtb is not None: if dtb is not None:
cmd.extend(['--dtb-filename', dtb, LF]) cmd.extend(['--dtb-filename', dtb, LF])
else: if not self.env['baremetal'] is None:
cmd.extend([ cmd.extend([
'--bare-metal', LF, '--bare-metal', LF,
'--param', 'system.auto_reset_addr = True', LF, '--param', 'system.auto_reset_addr = True', LF,