vexpress_ca9x4: Enable DM_SERIAL
authorOle P. Orhagen <ole.orhagen@northern.tech>
Fri, 26 Jan 2024 12:47:50 +0000 (13:47 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 6 Feb 2024 21:31:06 +0000 (16:31 -0500)
commit798ad3e6b2ec69a7dc111257270507f95559c5eb
tree2272730ec34bacca917b5bbb52d65acc29ed0278
parent0c5110ccf83c2e9c3190e501855c49ee168a7239
vexpress_ca9x4: Enable DM_SERIAL

This commit enables support for DM_SERIAL in the vexpress_ca9x4 boards.

When running the board with the DM_SERIAL driver, the board ran out of
memory in SPL when initialising the DM serial driver.

Thus this required an increase in the pre-allocated SRAM memory. I did
increase it to 0x800, and it now works graciously.

It could probably be set lower, but I do not see any reason not to use the
available SRAM at this point.

Also adds stdout-path to the 'chosen' node in the device tree.

Signed-off-by: Ole P. Orhagen <ole.orhagen@northern.tech>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/Kconfig
arch/arm/dts/vexpress-v2p-ca9.dts
configs/vexpress_ca9x4_defconfig