[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEbi=3e_Sz_VyE0H_VAFW9rJ98VwNgJe36ayFbQsL0UdQMQ7Mw@mail.gmail.com>
Date: Thu, 9 Nov 2017 15:19:57 +0800
From: Greentime Hu <green.hu@...il.com>
To: Tobias Klauser <tklauser@...tanz.ch>
Cc: Greentime <greentime@...estech.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
linux-arch <linux-arch@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Jason Cooper <jason@...edaemon.net>,
Marc Zyngier <marc.zyngier@....com>,
Rob Herring <robh+dt@...nel.org>,
netdev <netdev@...r.kernel.org>, Rick Chen <rick@...estech.com>
Subject: Re: [PATCH 03/31] nds32: Support early_printk
2017-11-08 17:47 GMT+08:00 Tobias Klauser <tklauser@...tanz.ch>:
> On 2017-11-08 at 06:54:51 +0100, Greentime Hu <green.hu@...il.com> wrote:
>> From: Greentime Hu <greentime@...estech.com>
>>
>> Signed-off-by: Rick Chen <rick@...estech.com>
>> Signed-off-by: Greentime Hu <greentime@...estech.com>
>> ---
>> 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").
Thanks.
I will try to use earlycon in the next version patch.
I will remove this patch if earlycon is able to be used in nds32.
Powered by blists - more mailing lists