hw: aspeed: Ensure AST1030 respects uart-default
commit94d10f42109a5ba23e26012722b16f0f479990cb
authorPeter Delevoryas <pdel@fb.com>
Wed, 25 May 2022 08:31:33 +0000 (25 10:31 +0200)
committerCédric Le Goater <clg@kaod.org>
Wed, 25 May 2022 08:31:33 +0000 (25 10:31 +0200)
tree9ec5a8c92f3f8e1fddbd048b503a3cc10e622ea2
parentc5e1bdb9e243ad5563196175415f42e459040367
hw: aspeed: Ensure AST1030 respects uart-default

The AST1030 machine initialization was not respecting the Aspeed SoC
property "uart-default", which specifies which UART should be connected to
the first serial device, it was just always connecting UART5. This doesn't
change any behavior, because the default value for "uart-default" is UART5,
but it makes it possible to override this in new machine definitions using
the AST1030.

Signed-off-by: Peter Delevoryas <pdel@fb.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220516062328.298336-4-pdel@fb.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed_ast10x0.c