board: add support for Vision System's Baltos Industrial PC
PATCH 1/1 board: add support for Vision System's Baltos Industrial PC
From: Yegor Yefremov <[email protected]>
Vision Systems's Baltos is based on AM335x SoC
from Texas Instruments. This patch adds support
such Industrial PCs in mainline u-boot.
[ balbi at ti.com: updated original patch to current u-boot ]
---
This is a respin of patch available from [1]
arch/arm/Kconfig | 6 + board/vscom/baltos/Kconfig | 33 +++ board/vscom/baltos/Makefile | 13 ++ board/vscom/baltos/README | 1 + board/vscom/baltos/board.c | 474 ++++++++++++++++++++++++++++++++++++++++ board/vscom/baltos/board.h | 90 ++++++++ board/vscom/baltos/mux.c | 194 ++++++++++++++++ board/vscom/baltos/u-boot.lds | 128 +++++++++++ configs/am335x_baltos_defconfig | 7 + include/configs/baltos.h | 346 +++++++++++++++++++++++++++++ 10 files changed, 1292 insertions(+) create mode 100644 board/vscom/baltos/Kconfig create mode 100644 board/vscom/baltos/Makefile create mode 100644 board/vscom/baltos/README create mode 100644 board/vscom/baltos/board.c create mode 100644 board/vscom/baltos/board.h create mode 100644 board/vscom/baltos/mux.c create mode 100644 board/vscom/baltos/u-boot.lds create mode 100644 configs/am335x_baltos_defconfig create mode 100644 include/configs/baltos.h
arch/arm/Kconfig +6 -0
@@ -376,6 +376,11 @@ config TARGET_AM335X_EVM select CPU_V7 select SUPPORT_SPL +config TARGET_AM335X_BALTOS + bool "Support am335x_baltos" + select CPU_V7 + select SUPPORT_SPL + config TARGET_AM43XX_EVM bool "Support am43xx_evm" select CPU_V7
@@ -868,6 +873,7 @@ source "board/st/stv0991/Kconfig" source "board/sunxi/Kconfig" source "board/syteco/zmx25/Kconfig" source "board/tbs/tbs2910/Kconfig" +source "board/vscom/baltos/Kconfig" source "board/ti/am335x/Kconfig" source "board/ti/am43xx/Kconfig" source "board/birdland/bav335x/Kconfig"
board/vscom/baltos/Kconfig new file +33 -0
@@ -0,0 +1,33 @@ +if TARGET_AM335X_BALTOS + +config SYS_BOARD + default "baltos" + +config SYS_VENDOR + default "vscom" + +config SYS_SOC + default "am33xx" + +config SYS_CONFIG_NAME + default "baltos" + +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. + +config DM + default y + +config DM_GPIO + default y if DM + +config DM_SERIAL + default y if DM + +endif
board/vscom/baltos/Makefile new file +13 -0
@@ -0,0 +1,13 @@ +# +# Makefile +# +# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ +# +# SPDX-License-Identifier: GPL-2.0+ +# + +ifeq ($(CONFIG_SKIP_LOWLEVEL_INIT),) +obj-y := mux.o +endif + +obj-y += board.o
board/vscom/baltos/README new file +1 -0
@@ -0,0 +1 @@ +BSP for VScom OnRISC Balios family devices, like Balios iR 5221.
board/vscom/baltos/board.c new file +474 -0
474 lines not on this page · raw message
board/vscom/baltos/board.h new file +90 -0
90 lines not on this page · raw message
board/vscom/baltos/mux.c new file +194 -0
194 lines not on this page · raw message
board/vscom/baltos/u-boot.lds new file +128 -0
128 lines not on this page · raw message
configs/am335x_baltos_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="NAND" +CONFIG_CONS_INDEX=1 +CONFIG_ARM=y +CONFIG_TARGET_AM335X_BALTOS=y
include/configs/baltos.h new file +346 -0
346 lines not on this page · raw message
Signature · 1 line
2.4.0.rc3
Quoted 10 lines · Felipe Balbi
From: Yegor Yefremov <[email protected]>
Vision Systems's Baltos is based on AM335x SoC from Texas Instruments. This patch adds support such Industrial PCs in mainline u-boot.
[ balbi at ti.com: updated original patch to current u-boot ]
Signed-off-by Yegor Yefremov <[email protected]>Signed-off-by Felipe Balbi <[email protected]>
This needs a rebase to fix problems like:
#error "Serial is required before relocation - define CONFIG_SYS_MALLOC_F_LEN to make this work" And:
warning: implicit declaration of function 'is_valid_ether_addr' [-Wimplicit-function-declaration] (and the resulting link failure).
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/20150527/67a84a02/attachment.sig>
Quoted 10 lines · Tom Rini
Quoted 8 lines · Felipe Balbi
From: Yegor Yefremov <[email protected]>
Vision Systems's Baltos is based on AM335x SoC from Texas Instruments. This patch adds support such Industrial PCs in mainline u-boot.
[ balbi at ti.com: updated original patch to current u-boot ]
Quoted 8 lines
Quoted 2 lines
Signed-off-by Yegor Yefremov <[email protected]>Signed-off-by Felipe Balbi <[email protected]>This needs a rebase to fix problems like:
#error "Serial is required before relocation - defineCONFIG_SYS_MALLOC_F_LENto make this work" And:
warning: implicit declaration of function 'is_valid_ether_addr' [-Wimplicit-function-declaration] (and the resulting link failure).
Will do.
Yegor