summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/karo-tx6x
Commit message (Collapse)AuthorAgeFilesLines
* ARM: boards: karo-tx6x: Make locally used function staticSascha Hauer2018-10-231-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: mach-imx: remove unused headerMichael Grzeschik2018-09-041-1/+0
| | | | | | | | The defines are also in mach/clocks-imx6.h prefixed with MXC instead of MX6. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2018-04-064-37/+37
|\
| * i.MX/DCD compiler and interpreter: logic is differentJuergen Borleis2018-03-264-37/+37
| | | | | | | | | | | | | | | | | | | | | | Reading the manual more carefully discovers a different logic for the DCD 'check' command. They use the term "until". In order to get the manual and the software in sync, this change switches to the term "until" as well. Changing must happen at compiler and interpreter level to make it work. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: return positive offset in get_runtime_offset()Sascha Hauer2018-03-211-4/+4
|/ | | | | | | | | | | When we are linked at 0x0 and running at 0x01000000 then get_runtime_offset() should return 0x01000000 and not 0xff000000. This makes get_runtime_offset() more consistent and better understandable. This was tested on a Freescale i.MX53 Quickstart board. Additionally relocate_to_adr() was tested since that is normally not called. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx: use register defines in imxcfg files instead of plain numbersUwe Kleine-König2017-07-073-326/+335
| | | | | | | | | | | | | This makes the imxcfg files more readable and also makes it possible to share more assignments between machines that just differ by the used SoC. (Though I have to admit that in the cases converted here it just more easily allows to see that the RAM config differs more than probably necessary.) This change is intended to have no effect on the built artifacts. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* ARM: i.MX: karo-tx6: Add support for the 512MiB i.MX6s variantSascha Hauer2016-07-062-0/+156
| | | | | | This adds support for the TX6S-8x35 board variant. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: karo-tx6: Add support for the 2GiB i.MX6q+ board variantSascha Hauer2016-04-282-0/+203
| | | | | | Different SDRAM setup, but same board otherwise. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: karo-tx6: add pr_fmtSascha Hauer2016-03-071-0/+2
| | | | | | Add pr_fmt to print tx6 specific messages with a proper prefix. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: karo-tx6: Setup other PMICsSascha Hauer2016-03-076-130/+509
| | | | | | | | | The TX6 boards come with 3 different PMIC variants from which we currently only support the ltc3673. Detect the other two by i2c address and set them up correctly. The code is based on the karo U-Boot port. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: karo-tx6: Generalize 801x supportSascha Hauer2016-03-021-2/+2
| | | | | | | | | | The device tree for the 801x variant only contains displays. The displays are not part of the SoM, but instead of the baseboard, so they should be described in a baseboard dts. With this patch we rather include the common tx6x dtsi file and drop 801x from the barebox device tree names. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: karo-tx6: Add support for the i.MX6q 1GiB variantSascha Hauer2016-03-023-1/+196
| | | | | | | The i.MX6q variant is basically the same as the i.MX6dl variant, just with another SoC and the usual i.MX6q/i.MX6dl adjustments. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: karo-tx6: Support eMMC board variantsSascha Hauer2016-03-021-1/+25
| | | | | | | | | | | The TX6 board come with either NAND flash or eMMC as primary storage medium. This adds support for the eMMC variants. We can detect if we have NAND or eMMC by looking at the bootsource which will be configured accordingly. This way we can modify the device tree during runtime and do not have to create a new image. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: boards: karo-tx6x remove definition of DIV_ROUND_UPMarkus Pargmann2015-12-101-1/+1
| | | | | | | DIV_ROUND_UP is defined in include/linux/kernel.h. Use that instead. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: serial: Distil common clock ungating codeAndrey Smirnov2015-05-071-9/+1
| | | | | | | | | Move all of the common clock ungating code in early UART initialization into a dedicated subroutine that can be shared by all of the users. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: serial: Convert i.MX51 and i.MX6 to use 'imx*_uart_setup_ll'Andrey Smirnov2015-05-071-10/+1
| | | | | | | | | NOTE: Boards 'karo-tx25' and 'tqma53' can benefit from this refactoring as well, but they were not converted because of the lack of i.MX25 or i.MX53 based hardware to test on. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sizes.h: move include/sizes.h to include/linux/sizes.hMasahiro Yamada2015-01-081-1/+1
| | | | | | | | | | | | | | This file originates in Linux. Linux has it under include/linux/ directory since commit dccd2304cc90. Let's move it to the same place as well in barebox. This commit was generated by the following commands: find -name '*.[chS]' | xargs sed -i -e 's:<sizes.h>:<linux/sizes.h>:' git mv include/sizes.h include/linux/ Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: add support for Karo TX6X familySteffen Trumtrar2014-09-196-0/+461
The Karo TX6X family consists of different i.MX6Q/DL based System-on-Modules. Add support for the TX6u 801x modules, that have an i.MX6DL SoC. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>