Re: [U-Boot] [PATCH v3] ns16550: change to allow 32 bit access to registers

2011-09-21 Thread Dave Aldridge
Hi Detlev On 09/09/11 13:09, Detlev Zundel wrote: Hi, Dear Dave Aldridge, In message 1314877212-31552-1-git-send-email-fovs...@gmail.com you wrote: If CONFIG_SYS_NS16550_MEM32 is defined then 32 bit memory mapped access will be used to read/write the uart registers. This is especially

Re: [U-Boot] [PATCH v3] ns16550: change to allow 32 bit access to registers

2011-09-09 Thread Detlev Zundel
Hi, Dear Dave Aldridge, In message 1314877212-31552-1-git-send-email-fovs...@gmail.com you wrote: If CONFIG_SYS_NS16550_MEM32 is defined then 32 bit memory mapped access will be used to read/write the uart registers. This is especially useful for SoC devices that implement 16550

Re: [U-Boot] [PATCH v3] ns16550: change to allow 32 bit access to registers

2011-09-08 Thread Dave Aldridge
Hi Wolfgang On 07/09/11 22:22, Wolfgang Denk wrote: Dear Dave Aldridge, In message 1314877212-31552-1-git-send-email-fovs...@gmail.com you wrote: If CONFIG_SYS_NS16550_MEM32 is defined then 32 bit memory mapped access will be used to read/write the uart registers. This is especially

Re: [U-Boot] [PATCH v3] ns16550: change to allow 32 bit access to registers

2011-09-07 Thread Wolfgang Denk
Dear Dave Aldridge, In message 1314877212-31552-1-git-send-email-fovs...@gmail.com you wrote: If CONFIG_SYS_NS16550_MEM32 is defined then 32 bit memory mapped access will be used to read/write the uart registers. This is especially useful for SoC devices that implement 16550 compatible

[U-Boot] [PATCH v3] ns16550: change to allow 32 bit access to registers

2011-09-01 Thread Dave Aldridge
If CONFIG_SYS_NS16550_MEM32 is defined then 32 bit memory mapped access will be used to read/write the uart registers. This is especially useful for SoC devices that implement 16550 compatible uarts but that have peripheral access width constraints. Signed-off-by: Dave Aldridge fovs...@gmail.com

Re: [U-Boot] [PATCH v3] ns16550: change to allow 32 bit access to registers

2011-09-01 Thread Tabi Timur-B04825
On Thu, Sep 1, 2011 at 6:40 AM, Dave Aldridge fovs...@gmail.com wrote:  #if !defined(CONFIG_SYS_NS16550_REG_SIZE) || (CONFIG_SYS_NS16550_REG_SIZE == 0)  #error Please define NS16550 registers size. +#elif defined(CONFIG_SYS_NS16550_MEM32) +#define UART_REG(x) unsigned int x; Shouldn't this

Re: [U-Boot] [PATCH v3] ns16550: change to allow 32 bit access to registers

2011-09-01 Thread Dave Aldridge
Hi Tabi Timur-B04825 On 01/09/11 16:39, Tabi Timur-B04825 wrote: On Thu, Sep 1, 2011 at 6:40 AM, Dave Aldridge fovs...@gmail.com wrote: #if !defined(CONFIG_SYS_NS16550_REG_SIZE) || (CONFIG_SYS_NS16550_REG_SIZE == 0) #error Please define NS16550 registers size. +#elif