config, dev-arm: Fix UART handling baremetal mode
authorCiro Santilli <ciro.santilli@arm.com>
Thu, 30 Aug 2018 09:58:10 +0000 (10:58 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Wed, 12 Sep 2018 10:30:28 +0000 (10:30 +0000)
commit3c3ca64b5f0dd9eef7b1ce1c65cc6e8e9147dd38
tree02ff8f953ada6f6c9d2a913cf17a58a9ecf4ef03
parent1379e30a4d3f6089838679a49d2364ea7817668f
config, dev-arm: Fix UART handling baremetal mode

fs.py in baremetal mode currently fails for the VExpress_GEM5_V1 platform
due to inconsistent UART naming with error message:

AttributeError: object 'VExpress_GEM5_V1' has no attribute 'uart'

Consistently name keep all UARTs in the Arm platforms in a vector named
'uart' or as a single device named 'uart'. Update the configuration
scripts to reflect the fact that 'uart' can be a vector.

Change-Id: I20b8dbac794d6a9be19b6ce8c335a097872132fb
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/12473
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
configs/common/FSConfig.py
src/dev/arm/RealView.py