Thread (105 messages) 105 messages, 14 authors, 2017-11-22

Re: [PATCH 03/31] nds32: Support early_printk

From: Tobias Klauser <tklauser@distanz.ch>
Date: 2017-11-08 09:47:11
Also in: linux-arch, lkml

On 2017-11-08 at 06:54:51 +0100, Greentime Hu [off-list ref] wrote:
quoted hunk ↗ jump to hunk
From: Greentime Hu <redacted>

Signed-off-by: Rick Chen <redacted>
Signed-off-by: Greentime Hu <redacted>
---
 arch/nds32/kernel/early_printk.c |  124 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 124 insertions(+)
 create mode 100644 arch/nds32/kernel/early_printk.c
diff --git a/arch/nds32/kernel/early_printk.c b/arch/nds32/kernel/early_printk.c
new file mode 100644
index 0000000..269c3cd
--- /dev/null
+++ b/arch/nds32/kernel/early_printk.c
Could be implemented using earlycon (the 8250 drivers already supports
it) instead of duplicating functionality in arch/nds32?  See e.g. the
nios2 port for how this could be done, specifically commit e118c3fec9c0
("nios2: remove custom early console implementation").
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help