[U-Boot] [PATCH V5] ARM: Various: Future-proof serial platdata
Tom Rini
trini at konsulko.com
Sat Mar 5 18:44:25 CET 2016
On Wed, Mar 02, 2016 at 05:38:18AM -0600, Adam Ford wrote:
> A few boards still use ns16550_platdata structures, but assume the structure
> is going to be in a specific order. By explicitly naming each entry,
> this should also help 'future-proof' in the event the structure changes.
>
> Tested on the Logic PD Torpedo + Wireless.
>
> I only changed a handful of devices that used the same syntax as the Logic
> board. Appologies if I missed one or stepped on toes. Thanks to Derald Woods
> and Alexander Graf.
>
> Signed-off-by: Adam Ford <aford173 at gmail.com>
>
> V5: Add fix to arch/arm/cpu/arm926ejs/lpc32xx/devices.c
>
> V4: Fix subject heading
>
> V3: Remove reg_offset out in all the structs. It was reverted out, and and if
> it did exist, it would get initialized to 0 by default.
>
> V2: I hastily copy-pasted the boards without looking at the UART number.
> This addresses 3 boards that use UART3 and not UART1.
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160305/c0ec6dc5/attachment.sig>
More information about the U-Boot
mailing list