-
- Downloads
ARM: Various: Future-proof serial platdata
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@gmail.com> V6: Add fix to arch/arm/cpu/armv7/am33xx/board.c 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:
Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
Showing
- arch/arm/cpu/arm926ejs/lpc32xx/devices.c 4 additions, 4 deletionsarch/arm/cpu/arm926ejs/lpc32xx/devices.c
- arch/arm/cpu/armv7/am33xx/board.c 6 additions, 6 deletionsarch/arm/cpu/armv7/am33xx/board.c
- board/isee/igep00x0/igep00x0.c 3 additions, 3 deletionsboard/isee/igep00x0/igep00x0.c
- board/logicpd/omap3som/omap3logic.c 3 additions, 3 deletionsboard/logicpd/omap3som/omap3logic.c
- board/logicpd/zoom1/zoom1.c 3 additions, 3 deletionsboard/logicpd/zoom1/zoom1.c
- board/overo/overo.c 3 additions, 3 deletionsboard/overo/overo.c
- board/quipos/cairo/cairo.c 3 additions, 3 deletionsboard/quipos/cairo/cairo.c
- board/ti/beagle/beagle.c 3 additions, 3 deletionsboard/ti/beagle/beagle.c
- board/timll/devkit8000/devkit8000.c 3 additions, 3 deletionsboard/timll/devkit8000/devkit8000.c
Loading
Please register or sign in to comment