Add Toby-Churchill SL50 board support
v3 cover Add Toby-Churchill SL50 board support
This patch series adds support for SL50 board based on TI AM335x SoC.
Changes since v2:
- Rebased with current mainline.
- Keep the TI copyright header on some files.
- Add SPDX tags instead the full verbage.
- Set default fdtfile to am335x-sl50.dtb (instead uses am33xx-sl50.dtb)
Changes since v1:
- Rebased with current mainline.
- Fix implicit declaration of function 'is_valid_ether_addr' (and the resulting link failure).
Best regards,
Enric Balletbo i Serra (1):
board: Add Toby-Churchill SL50 board support.
arch/arm/Kconfig | 6 + board/tcl/sl50/Kconfig | 34 ++++ board/tcl/sl50/MAINTAINERS | 6 + board/tcl/sl50/Makefile | 13 ++ board/tcl/sl50/board.c | 386 ++++++++++++++++++++++++++++++++++++++++++ board/tcl/sl50/board.h | 22 +++ board/tcl/sl50/mux.c | 154 +++++++++++++++++ configs/am335x_sl50_defconfig | 7 + include/configs/am335x_sl50.h | 138 +++++++++++++++ 9 files changed, 766 insertions(+) create mode 100644 board/tcl/sl50/Kconfig create mode 100644 board/tcl/sl50/MAINTAINERS create mode 100644 board/tcl/sl50/Makefile create mode 100644 board/tcl/sl50/board.c create mode 100644 board/tcl/sl50/board.h create mode 100644 board/tcl/sl50/mux.c create mode 100644 configs/am335x_sl50_defconfig create mode 100644 include/configs/am335x_sl50.h
Signature · 1 line
2.1.0
PATCH v3 1/1 board: Add Toby-Churchill SL50 board support.
Add support for Lightwriter SL50 series board, a small, robust and portable Voice Output Communication Aids (VOCA) designed to meet the particular and changing needs of people with speech loss resulting from a wide range of acquired, progressive and congenital conditions.
--- arch/arm/Kconfig | 6 + board/tcl/sl50/Kconfig | 34 ++++ board/tcl/sl50/MAINTAINERS | 6 + board/tcl/sl50/Makefile | 13 ++ board/tcl/sl50/board.c | 386 ++++++++++++++++++++++++++++++++++++++++++ board/tcl/sl50/board.h | 22 +++ board/tcl/sl50/mux.c | 154 +++++++++++++++++ configs/am335x_sl50_defconfig | 7 + include/configs/am335x_sl50.h | 138 +++++++++++++++ 9 files changed, 766 insertions(+) create mode 100644 board/tcl/sl50/Kconfig create mode 100644 board/tcl/sl50/MAINTAINERS create mode 100644 board/tcl/sl50/Makefile create mode 100644 board/tcl/sl50/board.c create mode 100644 board/tcl/sl50/board.h create mode 100644 board/tcl/sl50/mux.c create mode 100644 configs/am335x_sl50_defconfig create mode 100644 include/configs/am335x_sl50.h
arch/arm/Kconfig +6 -0
@@ -377,6 +377,11 @@ config TARGET_AM335X_EVM select DM_SERIAL select DM_GPIO +config TARGET_AM335X_SL50 + bool "Support am335x_sl50" + select CPU_V7 + select SUPPORT_SPL + config TARGET_AM43XX_EVM bool "Support am43xx_evm" select CPU_V7
@@ -949,6 +954,7 @@ source "board/st/stv0991/Kconfig" source "board/sunxi/Kconfig" source "board/syteco/zmx25/Kconfig" source "board/tbs/tbs2910/Kconfig" +source "board/tcl/sl50/Kconfig" source "board/ti/am335x/Kconfig" source "board/ti/am43xx/Kconfig" source "board/birdland/bav335x/Kconfig"
board/tcl/sl50/Kconfig new file +34 -0
@@ -0,0 +1,34 @@ +if TARGET_AM335X_SL50 + +config SYS_BOARD + default "sl50" + +config SYS_VENDOR + default "tcl" + +config SYS_SOC + default "am33xx" + +config SYS_CONFIG_NAME + default "am335x_sl50" + +config CONS_INDEX + int "UART used for console" + range 1 6 + default 1 + help + The AM335x SoC has a total of 6 UARTs (UART0 to UART5 as referenced + in documentation, etc) available to it. Depending on your specific + board you may want something other than UART0 as for example the IDK + uses UART3 so enter 4 here. + +config DM + default y + +config DM_GPIO + default y if DM + +config DM_SERIAL + default y if DM + +endif
board/tcl/sl50/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +SL50 BOARD +M: Enric Balletbo i Serra <[email protected]> +S: Maintained +F: board/tcl/sl50/ +F: include/configs/am335x_sl50.h +F: configs/am335x_sl50_defconfig
board/tcl/sl50/Makefile new file +13 -0
@@ -0,0 +1,13 @@ +# +# Makefile +# +# Copyright (C) 2015 Toby Churchill Ltd - http://www.toby-churchill.com/ +# +# SPDX-License-Identifier: GPL-2.0+ +# + +ifeq ($(CONFIG_SKIP_LOWLEVEL_INIT),) +obj-y := mux.o +endif + +obj-y += board.o
board/tcl/sl50/board.c new file +386 -0
386 lines not on this page · raw message
board/tcl/sl50/board.h new file +22 -0
@@ -0,0 +1,22 @@ +/* +* board.h +* +* TCL SL50 boards information header +* +* Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ +* +* SPDX-License-Identifier: GPL-2.0+ +*/ + +#ifndef _BOARD_H_ +#define _BOARD_H_ + +void enable_uart0_pin_mux (void ); +void enable_uart1_pin_mux (void ); +void enable_uart2_pin_mux (void ); +void enable_uart3_pin_mux (void ); +void enable_uart4_pin_mux (void ); +void enable_uart5_pin_mux (void ); +void enable_i2c0_pin_mux (void ); +void enable_board_pin_mux (void ); +#endif
board/tcl/sl50/mux.c new file +154 -0
154 lines not on this page · raw message
configs/am335x_sl50_defconfig new file +7 -0
@@ -0,0 +1,7 @@ +CONFIG_SPL=y +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_ADDR=0x82000000 +CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT" +CONFIG_CONS_INDEX=1 +CONFIG_ARM=y +CONFIG_TARGET_AM335X_SL50=y
include/configs/am335x_sl50.h new file +138 -0
138 lines not on this page · raw message
Signature · 1 line
2.1.0
PATCH v3 1/1 board: Add Toby-Churchill SL50 board support.
Quoted 6 lines · Enric Balletbo i Serra
Add support for Lightwriter SL50 series board, a small, robust and portable Voice Output Communication Aids (VOCA) designed to meet the particular and changing needs of people with speech loss resulting from a wide range of acquired, progressive and congenital conditions.
Signed-off-by Enric Balletbo i Serra <[email protected]>
[snip]
board/tcl/sl50/Kconfig line 32
Quoted 8 lines
board/tcl/sl50/Kconfig new file +8
-0+config DM + default y + +config DM_GPIO + default y if DM + +config DM_SERIAL + default y if DM
You don't need 'config DM' now (that causes warnings) nor ' if DM' on the other two options now.
And once I fix that I see:
+(am335x_sl50) drivers/serial/serial-uclass.c:27:2: error: #error "Serial is required before relocation - define CONFIG_SYS_MALLOC_F_LEN to make this work" +(am335x_sl50) drivers/serial/serial-uclass.c: In function ?serial_find_console_or_panic?:
+(am335x_sl50) drivers/serial/serial-uclass.c:51:25: error: ?gd_t? has no member named ?dm_root?
+(am335x_sl50) make[2]: *** [drivers/serial/serial-uclass.o] Error 1
+(am335x_sl50) make[1]: *** [drivers/serial] Error 2
+(am335x_sl50) make[1]: *** wait: No child processes. Stop.
+(am335x_sl50) make: *** [sub-make] Error 2
Please rebase to v2015.07-rc2 and re-submit, thanks!
Signature · 8 lines
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/20150612/f7fa555f/attachment.sig>