summaryrefslogtreecommitdiff
path: root/board/tbs
AgeCommit message (Collapse)Author
2022-12-05global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_*Tom Rini
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS_SDRAM namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-10-21board: tbs2910: Set all board dts files as maintainedSoeren Moch
This also includes the imx6q-tbs2910-u-boot.dtsi file now. Signed-off-by: Soeren Moch <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
2022-04-12tbs2910: Convert to DM_SERIALFabio Estevam
Conversion to DM_SERIAL is mandatory. Select DM_SERIAL and add a imx6q-tbs2910-u-boot.dtsi file that describes the nodes that require dm-pre-reloc, which allows the DM model to configure the UART pinctrl early. Remove the now unneeded board UART initialization. Signed-off-by: Fabio Estevam <[email protected]> Tested-by: Soeren Moch <[email protected]>
2022-02-08imx: Don't define __ASSEMBLY__ in source filesSimon Glass
This is supposed to be a build-system flag. Move it there so we can define it before linux/kconfig.h is included. Signed-off-by: Simon Glass <[email protected]>
2021-02-02common: Drop asm/global_data.h from common headerSimon Glass
Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: Simon Glass <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2020-08-25arm: mx6: Make all i.MX6 SoCs user-selectableTom Rini
We have a number of platforms that are a combination of a carrier board and System-on-Module (SoM) that in turn allows for the board to have different SoCs on it. In some cases, this is handled via board-specific Kconfig options. In other cases we make use of CONFIG_SYS_EXTRA_OPTIONS. This latter case however can lead to invalid configurations as we will not in turn get options that in Kconfig are selected by or depend on that setting. To resolve this, make the SoC option a choice in Kconfig and make boards depend on what they can support. This change opens us up for further clean-ups in the cases where a single CONFIG_TARGET_xxx can support different SoCs and today they do not, or do not cleanly do so. Reported-by: Matt Porter <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: "NXP i.MX U-Boot Team" <[email protected]> Cc: Soeren Moch <[email protected]> Cc: Markus Niebel <[email protected]> Cc: Igor Opaniuk <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Hannes Schmelzer <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Nikita Kiryanov <[email protected]> Cc: Andreas Geisreiter <[email protected]> Cc: Ludwig Zenz <[email protected]> Cc: Lukasz Majewski <[email protected]> Cc: Akshay Bhat <[email protected]> Cc: Ken Lin <[email protected]> Cc: Ian Ray <[email protected]> Cc: Tim Harvey <[email protected]> Cc: Jagan Teki <[email protected]> Cc: Raffaele RECALCATI <[email protected]> Cc: Simone CIANNI <[email protected]> Cc: Adam Ford <[email protected]> Cc: Marcin Niestroj <[email protected]> Cc: "Eric Bénard" <[email protected]> Cc: Baruch Siach <[email protected]> Cc: Jason Liu <[email protected]> Cc: Ye Li <[email protected]> Cc: Eric Nelson <[email protected]> Cc: Troy Kisky <[email protected]> Cc: Peng Fan <[email protected]> Cc: Parthiban Nallathambi <[email protected]> Cc: Marek Vasut <[email protected]> Cc: "Sébastien Szymanski" <[email protected]> Cc: Christian Gmeiner <[email protected]> Cc: Niel Fourie <[email protected]> Cc: Martyn Welch <[email protected]> Cc: Richard Hu <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Boris Brezillon <[email protected]> Cc: Arkadiusz Karas <[email protected]> Cc: Breno Lima <[email protected]> Cc: Francesco Montefoschi <[email protected]> Cc: Silvio Fricke <[email protected]> Tested-by: Matt Porter <[email protected]> [colibri_imx6] Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Marcin Niestroj <[email protected]>
2020-06-12board: tbs2910: add documentationDenis 'GNUtoo' Carikli
This documents the u-boot installation procedure and the hardware in order to get started. Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]> [trini: Add MAINTAINERS entry for doc file per Soeren's request]
2020-05-18common: Drop init.h from common headerSimon Glass
Move this uncommon header out of the common header. Signed-off-by: Simon Glass <[email protected]>
2019-10-13board: tbs2910: Convert eth to driver modelSoeren Moch
So we can remove lots of legacy config code. Signed-off-by: Soeren Moch <[email protected]>
2019-10-13board: tbs2910: Convert pci to driver modelSoeren Moch
So we can get rid of legacy pci config code. PCI_PNP is not required for this board, remove it to reduce the size of the u-boot binary. DM_PCI does not start the host controller automatically anymore. Do so in preboot instead. Signed-off-by: Soeren Moch <[email protected]>
2019-06-23Convert to use fsl_esdhc_imx for i.MX platformsYangbo Lu
Converted to use fsl_esdhc_imx for i.MX platforms. Signed-off-by: Yangbo Lu <[email protected]> Tested-by: Steffen Dirkwinkel <[email protected]> Reviewed-by: Peng Fan <[email protected]> Reviewed-by: Lukasz Majewski <[email protected]> Reviewed-by: Martyn Welch <[email protected]> Acked-by: Jason Liu <[email protected]>
2019-04-13board: tbs2910: Convert mmc to driver modelSoeren Moch
So we don't need to duplicate settings from the device tree in the board file. Signed-off-by: Soeren Moch <[email protected]>
2019-04-13board: tbs2910: Convert sata to ahci driver modelSoeren Moch
While at it, also configure 64-bit LBA support. Signed-off-by: Soeren Moch <[email protected]>
2019-04-13board: tbs2910: Convert i2c and rtc to driver modelSoeren Moch
So we don't need to duplicate settings from the device tree in the board file. Signed-off-by: Soeren Moch <[email protected]>
2019-04-13board: tbs2910: Convert usb to driver modelSoeren Moch
So we don't need to duplicate settings from the device tree in the board file. Signed-off-by: Soeren Moch <[email protected]>
2019-04-13board: tbs2910: Add pinctrl driver and convert gpio to driver modelSoeren Moch
We need this for additional driver model conversions. Signed-off-by: Soeren Moch <[email protected]>
2019-04-13board: tbs2910: Add device treeSoeren Moch
... as preparation for additional driver model coonversions. We use CONFIG_OF_EMBED here to keep u-boot.imx as final binary name. So we maintain compatibility with the original TBS u-boot and available HOWTOs for u-boot updates. Signed-off-by: Soeren Moch <[email protected]>
2018-05-07SPDX: Convert all of our single license tags to Linux Kernel styleTom Rini
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <[email protected]>
2018-02-04board: tbs2910: add private imx configSoeren Moch
Add board specific imx config file with recommended IPU Qos settings and adapted DDR configuration. Signed-off-by: Soeren Moch <[email protected]>
2017-07-12imx: reorganize IMX code as other SOCsStefano Babic
Change is consistent with other SOCs and it is in preparation for adding SOMs. SOC's related files are moved from cpu/ to mach-imx/<SOC>. This change is also coherent with the structure in kernel. Signed-off-by: Stefano Babic <[email protected]> CC: Fabio Estevam <[email protected]> CC: Akshay Bhat <[email protected]> CC: Ken Lin <[email protected]> CC: Marek Vasut <[email protected]> CC: Heiko Schocher <[email protected]> CC: "Sébastien Szymanski" <[email protected]> CC: Christian Gmeiner <[email protected]> CC: Stefan Roese <[email protected]> CC: Patrick Bruenn <[email protected]> CC: Troy Kisky <[email protected]> CC: Nikita Kiryanov <[email protected]> CC: Otavio Salvador <[email protected]> CC: "Eric Bénard" <[email protected]> CC: Jagan Teki <[email protected]> CC: Ye Li <[email protected]> CC: Peng Fan <[email protected]> CC: Adrian Alonso <[email protected]> CC: Alison Wang <[email protected]> CC: Tim Harvey <[email protected]> CC: Martin Donnelly <[email protected]> CC: Marcin Niestroj <[email protected]> CC: Lukasz Majewski <[email protected]> CC: Adam Ford <[email protected]> CC: "Albert ARIBAUD (3ADEV)" <[email protected]> CC: Boris Brezillon <[email protected]> CC: Soeren Moch <[email protected]> CC: Richard Hu <[email protected]> CC: Wig Cheng <[email protected]> CC: Vanessa Maegima <[email protected]> CC: Max Krummenacher <[email protected]> CC: Stefan Agner <[email protected]> CC: Markus Niebel <[email protected]> CC: Breno Lima <[email protected]> CC: Francesco Montefoschi <[email protected]> CC: Jaehoon Chung <[email protected]> CC: Scott Wood <[email protected]> CC: Joe Hershberger <[email protected]> CC: Anatolij Gustschin <[email protected]> CC: Simon Glass <[email protected]> CC: "Andrew F. Davis" <[email protected]> CC: "Łukasz Majewski" <[email protected]> CC: Patrice Chotard <[email protected]> CC: Nobuhiro Iwamatsu <[email protected]> CC: Hans de Goede <[email protected]> CC: Masahiro Yamada <[email protected]> CC: Stephen Warren <[email protected]> CC: Andre Przywara <[email protected]> CC: "Álvaro Fernández Rojas" <[email protected]> CC: York Sun <[email protected]> CC: Xiaoliang Yang <[email protected]> CC: Chen-Yu Tsai <[email protected]> CC: George McCollister <[email protected]> CC: Sven Ebenfeld <[email protected]> CC: Filip Brozovic <[email protected]> CC: Petr Kulhavy <[email protected]> CC: Eric Nelson <[email protected]> CC: Bai Ping <[email protected]> CC: Anson Huang <[email protected]> CC: Sanchayan Maity <[email protected]> CC: Lokesh Vutla <[email protected]> CC: Patrick Delaunay <[email protected]> CC: Gary Bisson <[email protected]> CC: Alexander Graf <[email protected]> CC: [email protected] Reviewed-by: Fabio Estevam <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2016-11-29tbs2910: Make Ethernet functional againSoeren Moch
Configure the PHY to output a 125MHz clk from CLK_25M and set tx clock delay. This patch is similar to commit 4b6035da482cccda06aeb419634f99937c9fc783 ("mx6sabresd: Make Ethernet functional again"). Signed-off-by: Soeren Moch <[email protected]>
2016-09-23treewide: replace #include <asm/errno.h> with <linux/errno.h>Masahiro Yamada
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the same content. (both just wrap <asm-generic/errno.h>) Replace all include directives for <asm/errno.h> with <linux/errno.h>. Signed-off-by: Masahiro Yamada <[email protected]> [trini: Fixup include/clk.] Signed-off-by: Tom Rini <[email protected]>
2016-03-02board: tbs2910: Fix eMMC BOOTCFG valueSoeren Moch
Fix the BOOTCFG value for eMMC in the same way as commit 214c3f0f9921250eb336c7effadcc16158ea9df5 [imx: MX6DQ{P}/DL:SABRESD Fix bmode eMMC failure] did for sabresd. Signed-off-by: Soeren Moch <[email protected]>
2016-02-21Merge branch 'master' of git://www.denx.de/git/u-boot-imxTom Rini
2016-02-21board: tbs2910: Autoselect environment device when booting from SDSoeren Moch
Implement board specific functions to select the environment device and partition when booting from SD/MMC. SD2: mmc 0 0 SD3: mmc 1 0 eMMC: mmc 2 1 Signed-off-by: Soeren Moch <[email protected]>
2016-02-06Use correct spelling of "U-Boot"Bin Meng
Correct spelling of "U-Boot" shall be used in all written text (documentation, comments in source files etc.). Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Minkyu Kang <[email protected]>
2015-09-02tbs2910: remove SYS_SOC from board specific KconfigSoeren Moch
SYS_SOC is already defined in arch/arm/cpu/armv7/mx6/Kconfig, no need to define it again Signed-off-by: Soeren Moch <[email protected]>
2015-09-02tbs2910: remove deprecated CONFIG_SYS_EXTRA_OPTIONSSoeren Moch
move options from CONFIG_SYS_EXTRA_OPTIONS to board specific Kconfig Signed-off-by: Soeren Moch <[email protected]>
2015-05-15tbs2910: support for usb otg host modeSoeren Moch
Add support for USB OTG host mode. Only high speed devices supported so far (e.g. usb 2.0 hub required to connect a keyboard). Signed-off-by: Soeren Moch <[email protected]>
2015-02-23board: tbs2910: Gate clock when switching async clock muxesSoeren Moch
According to the i.MX6Q Reference Manual, clocks must be gated when switching input clocks of async clock muxes. So use clock gates. Avoid ldb_di0_ipu clock, because there is no clock gate for this signal. There have never been any complaints about problems with the old code, but the new approach is in line with the recommendations in the manual. Signed-off-by: Soeren Moch <[email protected]>
2014-12-01tbs2910: fix KconfigSoeren Moch
fix Kconfig for tbs2910 board to prevent crash on relocation Signed-off-by: Soeren Moch <[email protected]>
2014-11-21tbs2910: Fix error handling in board_mmc_init()Soeren Moch
When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Based on similar patches by Fabio Estevam for mx6sabresd, mx53loco, wandboard Signed-off-by: Soeren Moch <[email protected]> Acked-by: Stefano Babic <[email protected]>
2014-11-13arm: mx6: add support for TBS2910 Matrix ARM miniPCSoeren Moch
Add initial support for TBS2910 Matrix ARM miniPC. Support includes MMC, Ethernet, UARTs, HDMI, USB, SATA, PCI, I2C, RTC. Signed-off-by: Soeren Moch <[email protected]>