Re: [PATCH] serial: ns16550: Correct NS16550_DYNAMIC for non-x86

2020-02-03 Thread Bin Meng
Hi Simon, On Tue, Feb 4, 2020 at 1:15 AM Simon Glass wrote: > > Hi Bin, > > On Mon, 3 Feb 2020 at 10:12, Bin Meng wrote: > > > > On Tue, Feb 4, 2020 at 1:04 AM Simon Glass wrote: > > > > > > There is currently no standard way to know which I/O functions an > > > architecture supports, so it is

Re: [PATCH] serial: ns16550: Correct NS16550_DYNAMIC for non-x86

2020-02-03 Thread Simon Glass
Hi Bin, On Mon, 3 Feb 2020 at 10:12, Bin Meng wrote: > > On Tue, Feb 4, 2020 at 1:04 AM Simon Glass wrote: > > > > There is currently no standard way to know which I/O functions an > > architecture supports, so it is not possible to have all options used in > > this driver. > > > > Move it to

Re: [PATCH] serial: ns16550: Correct NS16550_DYNAMIC for non-x86

2020-02-03 Thread Bin Meng
On Tue, Feb 4, 2020 at 1:04 AM Simon Glass wrote: > > There is currently no standard way to know which I/O functions an > architecture supports, so it is not possible to have all options used in > this driver. > > Move it to use #ifdef for now, to fix the build problem. > > Signed-off-by: Simon

[PATCH] serial: ns16550: Correct NS16550_DYNAMIC for non-x86

2020-02-03 Thread Simon Glass
There is currently no standard way to know which I/O functions an architecture supports, so it is not possible to have all options used in this driver. Move it to use #ifdef for now, to fix the build problem. Signed-off-by: Simon Glass --- drivers/serial/ns16550.c | 20 1