config: arm: fix os_flags
Fix the makeArmSystem routine to reflect recent changes that support kernel commandline option when running android. Without this fix, trying to run android encounters a 'reference before assignment' error. Committed by: Nilay Vaish <nilay@cs.wisc.edu>
This commit is contained in:
parent
89b3616d7e
commit
ca131a4196
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
|
|||
self.flags_addr = self.realview.realview_io.pio_addr + 0x30
|
||||
|
||||
if mdesc.disk().lower().count('android'):
|
||||
boot_flags += " init=/init "
|
||||
cmdline += " init=/init "
|
||||
self.boot_osflags = fillInCmdline(mdesc, cmdline)
|
||||
self.realview.attachOnChipIO(self.membus, self.bridge)
|
||||
self.realview.attachIO(self.iobus)
|
||||
|
|
Loading…
Reference in a new issue