commit | b247d02e285ddcb5b628ef60be955ed5238e2a57 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Nov 03 07:16:08 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Nov 17 17:04:59 2021 -0500 |
tree | f653fd121871582cf10b073dbda97e670041e6a1 | |
parent | d2ee021246e6bc56c32ea2a32441077610c75098 [diff] |
rk3399: Don't enable the debug UART if there is no driver Some boards do not enable SPL_SERIAL so cannot use the debug UART. Add this condition to the code and drop use of the preprocessor while we are here. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Philipp Tomsich <philipp.tomsich@vrull.eu>