From: Soeren Moch <smoch@web.de>
To: Stefano Babic <sbabic@denx.de>
Cc: Soeren Moch <smoch@web.de>, Fabio Estevam <festevam@gmail.com>,
Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,
u-boot@lists.denx.de
Subject: [PATCH 2/2] board: tbs2910: Convert to DM_SERIAL
Date: Mon, 14 Mar 2022 09:26:26 +0100 [thread overview]
Message-ID: <20220314082626.96395-2-smoch@web.de> (raw)
In-Reply-To: <20220314082626.96395-1-smoch@web.de>
... to get rid of the build warning.
Unfortunately we still need the board specific serial pin init code.
Otherwise the first boot messages over the serial console are lost.
Signed-off-by: Soeren Moch <smoch@web.de>
---
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.denx.de
The whole purpose of DM is somewhat defeated when we still need board
specific initializations. Any ideas how we can get all boot messages
without board specific inits? 'u-boot,dm-pre-reloc;' in the uart device
tree node did not help.
---
configs/tbs2910_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index 8a33160564..79454053b0 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -81,6 +81,8 @@ CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y
CONFIG_DM_RTC=y
CONFIG_RTC_DS1307=y
+CONFIG_DM_SERIAL=y
+CONFIG_SERIAL_RX_BUFFER=y
CONFIG_MXC_UART=y
CONFIG_DM_THERMAL=y
CONFIG_IMX_THERMAL=y
--
2.25.1
next prev parent reply other threads:[~2022-03-14 8:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-14 8:26 [PATCH 1/2] board: tbs2910: Enable Link Time Optimizations in defconfig Soeren Moch
2022-03-14 8:26 ` Soeren Moch [this message]
2022-03-14 18:24 ` [PATCH 2/2] board: tbs2910: Convert to DM_SERIAL Simon Glass
2022-03-14 18:28 ` Tom Rini
2022-03-14 19:22 ` Soeren Moch
2022-03-14 19:34 ` Tom Rini
2022-03-14 19:37 ` Simon Glass
2022-03-14 21:51 ` Sören Moch
2022-03-14 22:20 ` Simon Glass
2022-03-14 22:38 ` Tom Rini
2022-03-14 22:46 ` Simon Glass
2022-03-14 23:16 ` Fabio Estevam
2022-03-15 20:56 ` Soeren Moch
2022-03-19 11:34 ` Soeren Moch
2022-03-14 18:14 ` [PATCH 1/2] board: tbs2910: Enable Link Time Optimizations in defconfig Tom Rini
2022-03-14 18:24 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220314082626.96395-2-smoch@web.de \
--to=smoch@web.de \
--cc=festevam@gmail.com \
--cc=sbabic@denx.de \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.