dev-arm: Don't unconditionally overwrite bootloader params
authorJose Marinho <jose.marinho@arm.com>
Wed, 28 Jun 2017 10:14:59 +0000 (11:14 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 10 Jul 2017 08:32:03 +0000 (08:32 +0000)
commit457f07c50736ff4ea7fcadc4e766b19e37ffc625
treee686edab7c537e036cfb1ecbd0004b16c9790e77
parent999c14894fd39367443656bd9dbb61fd8f3c7075
dev-arm: Don't unconditionally overwrite bootloader params

The bootloader arguments were previously defaulting to a predetermined
value even if initialized elsewhere in the platform config script.
This commit fixes this issue by not calling the default initialization
routine if the bootloader is already defined.

Change-Id: Id80af4762b52dc036da29430b2795bb30970a349
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/3967
src/dev/arm/RealView.py