[PATCH] sunxi: Add support for using UART4 as console on A64

Maxime Ripard maxime at cerno.tech
Thu Jul 2 19:43:02 CEST 2020


Hi,

On Mon, Jun 29, 2020 at 07:12:04PM +0000, Nazım Gediz AYDINDOĞMUŞ wrote:
> Hi.
> 
> If I've understood it well, you're pointing out for the following part,
> right?

Yep

> >  /* CPU */
> >  #define COUNTER_FREQUENCY		24000000
> > @@ -248,6 +252,8 @@ extern int soft_i2c_gpio_scl;
> >  #define OF_STDOUT_PATH		"/soc at 01c00000/serial at 01c28800:115200"
> >  #elif CONFIG_CONS_INDEX == 5 && defined(CONFIG_MACH_SUN8I)
> >  #define OF_STDOUT_PATH		"/soc at 01c00000/serial at 01f02800:115200"
> > +#elif CONFIG_CONS_INDEX == 5 && defined(CONFIG_MACH_SUN50I)
> > +#define OF_STDOUT_PATH		"/soc at 01c00000/serial at 01c29000:115200"
> 
> To be honest, this part was remnant of days long trial and error attempts
> at trying to make UART4 work.
> Sorry for not scrutinizing it carefully. It was not because do not taking
> it serious but due to not fully grasping the said changes.
> 
> If there's not any other thing to remove/add/fix, should I reformat and
> submit a completely new patch or is it okay to send the updated one as a
> follow-up post in this thread?

Yeah, send a new version.

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200702/f2b8621b/attachment.sig>


More information about the U-Boot mailing list