arm: Init the debug UART
authorSimon Glass <sjg@chromium.org>
Wed, 3 Nov 2021 13:16:06 +0000 (07:16 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 17 Nov 2021 22:04:59 +0000 (17:04 -0500)
commit0dba45864b2afc7236102b9abb6b405b49efcccb
tree0d9bcff250b64c178b33806e2267ca0abda38f80
parent31ec464d65e13a3e40c84bb92c6fc70bf7610eb8
arm: Init the debug UART

At present we don't init the debug UART in the generic ARM code, but
instead leave it to individual machines to handle. This is not the
way it is supposed to work.

Add the required init to the crt files. This ensures that the UART
is available as early as possible and that the announcement appears
when it should, if enabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/crt0.S
arch/arm/lib/crt0_64.S