build_kernel_image: Use earlycon for arm and arm64

earlyprintk is not supported on arm64. Switch to earlycon instead.
Unfortunately the scripts pass "arm" even for arm64 kernels, so switch
both to using earlycon.

earlycon without any parameters uses the UART and parameters specified
by the "stdout" property in the "chosen" device node.

BUG=none
TEST=build image for arm platform and check config.txt for earlycon

Cq-Depend: chromium:3181662
Change-Id: Id3b3dc3e64fce6e327bcbbfdf6bc0f5f3deabd7d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/3181820
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Commit-Queue: Chen-Yu Tsai <wenst@chromium.org>
1 file changed