On 24.5.2017 15:31, Alan Cox wrote:
I am not saying that config option is perfect solution. It is at least
aligned with 5 others serial drivers in the tree.
And the fact people keep doing hacks jutifies continuing to make a mess.
Especialy as in this case it's entirely theoretical. Nobody has produced
actual hardware that hits the limit. Nobody has filed a bug, nobody is
impacted.
This is the reason why we are talking about it how to do it right.
With this ps uart it is not that easy because this is cadence RTL which
is not in public IP database but the same think is with uartlite.
Limit there is 16. If you really want that I can create that HW design
which will require more than 16 uartlites in one design.
Creating extra CONFIG_ entries for junk like this is ridiculous, most of
the others at least have the excuse of being old code.
No doubt about it. I am just trying to find out what's the way you are
suggesting.