[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v2 1/2] xen/arm: Add MVEBU UART driver for Marvell Armada 3700 SoC
- To: André Przywara <andre.przywara@xxxxxxx>
- From: Amit Tomer <amittomer25@xxxxxxxxx>
- Date: Thu, 5 Apr 2018 04:47:33 +0530
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, wei.liu2@xxxxxxxxxx, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, tim@xxxxxxx, ian.jackson@xxxxxxxxxxxxx, Julien Grall <julien.grall@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, andrew.cooper3@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 04 Apr 2018 23:17:54 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi,
> Ah yes, if that works, we should. That bit is from the Linux BSP, isn't it?
Yes, it's from Linux BSP code only. Hope following is fine.
if ( reg & STATUS_TXFIFO_EMP )
return TX_FIFO_SIZE;
else if ( reg & STAT_TX_FIFO_HFL )
return TX_FIFO_SIZE / 2;
else if ( !(reg & STAT_TX_FIFO_FUL) )
return 1;
return 0;
Thanks
-Amit
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|