[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 2/3] xen/arm: Add new driver for R-Car Gen2 UART



On Thu, Jan 22, 2015 at 6:49 PM, Julien Grall <julien.grall@xxxxxxxxxx> wrote:
> On 22/01/15 16:44, Oleksandr Tyshchenko wrote:
>> I understand, then I will implement local delay func in uart driver
>> based on READ_SYSREG64(CNTPCT_EL0).
>
> Unless I miss something, udelay should work in your case even if the
> xen_init_time is not called.
Unfortunately, no. If I understand correctly the var "cpu_khz" (used
in ticks_to_ns()) is initialized in init_xen_time().

>
> Regards,
>
> --
> Julien Grall



-- 

Oleksandr Tyshchenko | Embedded Dev
GlobalLogic
www.globallogic.com

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.