summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/Kconfig
Commit message (Collapse)AuthorAgeFilesLines
* scripts: imx-image: Support adding a Super Root Key to the imageSascha Hauer2016-02-041-0/+7
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: hab: rename driver dir to hab/Sascha Hauer2016-02-021-0/+5
| | | | | | | There's not only HABv4 but also HABv3. No need to put the corresponding code in separate directories, so rename the habv4 directory to hab. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: Add HABv3 Kconfig variablesSascha Hauer2016-02-021-0/+22
| | | | | | | | For signing i.MX images with HABv3 we need several certificates. Add their pathes to Kconfig variables to make them available to the build system. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mx6sx-sabresdb: set proper hostnameLucas Stach2015-11-301-0/+7
| | | | | | | | Also move the initcall to the level matching the name of the function. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* boards: Add phytec-som-imx6Stefan Christ2015-11-091-8/+3
| | | | | | | | | | | | | The main idea behind this patch is to avoid redundant code. Because of the module similarities of all i.MX6 based phytec boards, we can merge its code. The phytec-som-imx6 merges the code of all i.MX6 based phytec SOMs. So we will have only one "board" in the barebox for phyCARD-i.MX6 and phyFLEX-i.MX6. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: add Technexion Wandboard supportMichael Grzeschik2015-10-271-0/+5
| | | | | | | | | | This adds support support for the i.MX6 Technexion Wandboard. The board comes in different SoC variants and different amounts of RAM. The baord type is autodetected based on the SoC type, so all boards can be supported by the same binary image. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2015-09-011-0/+2
|\
| * ARM: imx6: select OFTREELucas Stach2015-08-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i.MX6 is fully DT enabled and the already selected COMMON_CLK_OF_PROVIDER needs OFTREE support to build properly. Fixes: arch/arm/mach-imx/clk-imx6.c: In function 'imx6_ccm_probe': arch/arm/mach-imx/clk-imx6.c:500:2: error: invalid use of undefined type 'struct clk_onecell_data' arch/arm/mach-imx/clk-imx6.c:502:2: error: implicit declaration of function 'of_clk_add_provider' Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX6: Enable l2 cacheSascha Hauer2015-08-081-0/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/vincell'Sascha Hauer2015-08-071-6/+4
|\
| * ARM: vincell: move to DT probingSteffen Trumtrar2015-07-131-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | This enabled multi image support for the Garz&Fricke Vincell board. Also it adds the Vincell-LT as a second image with a separate device tree. Previously we used the same image on both the Vincell and the Vincell-LT image since the differences are not that significant for barebox. Still this was good for quite some confusion internally, so let's properly introduce a second image. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2015-08-061-2/+4
|\ \
| * | ARM: i.MX6: clarify usage of /dev/imx-ocotpStefan Christ2015-07-201-2/+4
| |/ | | | | | | | | | | | | | | Explain the relationship between the OCOTP addresses from the i.MX6 Reference Manual and the file offset in '/dev/imx-ocotp'. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / ARM: initial cm-fx6 supportSascha Hauer2015-07-311-0/+4
|/ | | | | | | | The cm-fx6 board is a module from Compulab with different i.MX6 SoCs. This module is also found in the Utilite Mini Computer this patch also adds support for. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx-bbu-nand-fcb'Sascha Hauer2015-07-031-9/+0
|\ | | | | | | | | Conflicts: common/Kconfig
| * ARM: i.MX6: bbu nand: Move to common placeSascha Hauer2015-06-121-9/+0
| | | | | | | | | | | | The code can be used on i.MX28 aswell, so move it to a common place. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i.MX: Add provisions to boot from IRAMAndrey Smirnov2015-05-071-0/+15
|/ | | | | | | | | | | | | This commit add a very basic code to allow Barebox to be booted from IRAM. Given that the amount of IRAM on most i.MX variants is insufficient to contain a copy of Barebox with any reasonable degree of functionality this code uses IRAM only as a temporary location and eventually bootstraps from DRAM. But the presense of the intermediate IRAM-only stage allows to add provisions to test the area of DRAM that Barebox would be using to facilitate various testing scenarious. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* images: add HABv4 support for i.MX6Marc Kleine-Budde2015-04-151-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds high assurance boot support (HABv4) image generation to barebox, currently tested on i.MX6 only. In order to build a signed barebox image, add a new image target to images/Makefile.imx as illustrated in the diff below: - - - a/images/Makefile.imx + + + b/images/Makefile.imx @@ -163,10 +163,14 @@ image-$(CONFIG_MACH_SABRELITE) += barebox-freescale-imx6dl-sabrelite.img pblx-$(CONFIG_MACH_SABRESD) += start_imx6q_sabresd CFG_start_imx6q_sabresd.pblx.imximg = $(board)/freescale-mx6-sabresd/flash-header-mx6-sabresd.imxcfg FILE_barebox-freescale-imx6q-sabresd.img = start_imx6q_sabresd.pblx.imximg image-$(CONFIG_MACH_SABRESD) += barebox-freescale-imx6q-sabresd.img +CSF_start_imx6q_sabresd.pblx.imximg = $(havb4_imx6csf) +FILE_barebox-freescale-imx6q-sabresd-signed.img = start_imx6q_sabresd.pblx.imximg.signed +image-$(CONFIG_MACH_SABRESD) += barebox-freescale-imx6q-sabresd-signed.img + Here the default i.MX6 CSF file $(havb4_imx6csf) is used, it's generated during build on from the template "scripts/habv4/habv4-imx6.csf.in". You can configure the paths to the SRK table and certificates via: System Type -> i.MX specific settings -> HABv4 support. The proprietary tool "cst" by Freescale tool is expected in the PATH. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/pci'Sascha Hauer2015-04-131-0/+1
|\
| * pci: Add i.MX6 pcie supportSascha Hauer2015-03-171-0/+1
| | | | | | | | | | | | | | Based on the corresponding kernel driver with changes to make it work on barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: Add ELTEC HiPerCam board supportSascha Hauer2015-03-201-0/+4
|/ | | | | | | | | This adds support for the i.MX6 based Eltec HiPerCam board. This board comes with different i.MX6 flavours and different memory sizes. Currently supported is the i.MX6dl version with 256MB DDR3 RAM. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: switch to COMMON_CLK_OF_PROVIDERSascha Hauer2015-03-091-0/+1
| | | | | | | | | | | | | Use COMMON_CLK_OF_PROVIDER to provide clocks from the device tree. This needs several changes: - use the clock number defines from dt-bindings/clock/imx6qdl-clock.h - register the (previously skipped) gates, because these are bound to the consumers - select COMMON_CLK_OF_PROVIDER With this we also no longer register the fixed clocks twice. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: remove i.MX6 ARM2 board supportSascha Hauer2015-03-091-7/+0
| | | | | | | This board is an early development sample that was never sold. Remove support for it. With this the last non device tree i.MX6 board is gone. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: use generic calculation in nand bbu handlerStefan Christ2015-01-291-0/+1
| | | | | | | | | | | The parameters ECC Strength, BadBlockMarkerByte and BadBlockMarkerStartBit in the FCB structure depends on the nand chip's pagesize and oobsize. Instead of hardcoding these values into the imx6 bbu handler calculate these values on the fly. Therefore we export the necessary functions from the nand_mxs driver to use them in the bbu handler. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Revert "ARM: i.MX: Make NAND related Kconfig options depend on MTD"Lucas Stach2014-12-171-3/+0
| | | | | | | | | | | | | | | | | This reverts commit 4b17d73c7da2, as it is incomplete and partially broken. ARCH_IMX_EXTERNAL_BOOT_NAND does not depend on MTD, it just uses some defines from the mtd/nand header, but does not actually depend on MTD being compiled in. For the other two cases there is a more complete fix merged with commit 57b584d748d4 that also enables the needed MTD write support. Fixes: (MACH_TX25 && MACH_PCA100 && MACH_PCM038) selects ARCH_IMX_EXTERNAL_BOOT_NAND which has unmet direct dependencies (ARCH_IMX && MTD) Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2014-12-081-0/+14
|\
| * ARM: i.MX: Add i.MX6sx sabresdb supportSascha Hauer2014-11-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the Freescale i.MX6sx sabresdb board. Tested are: - UART - The three SD card slots - USB host - USB otg (host and device mode) - FEC (both) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: Add i.MX6sx supportSascha Hauer2014-11-271-0/+5
| | | | | | | | | | | | | | | | Add some cpu type defines and clock support. The clock support is very different from other i.MX variants, so it's a separate file, like done in the kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: Make NAND related Kconfig options depend on MTDAndrey Smirnov2014-11-121-0/+3
| | | | | | | | | | | | | | | | | | | | ARCH_IMX_EXTERNAL_BOOT_NAND, BAREBOX_UPDATE_IMX_EXTERNAL_NAND and BAREBOX_UPDATE_IMX6_NAND all enable features that make use of API provided by MTD subsystem, so to prevent those features breaking the build when MTD is disabled make them dependent on it. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: imx: nand update handler depends on MTD layerLucas Stach2014-11-241-0/+4
| | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: imx: select I2C for all boards that need it in their board initLucas Stach2014-11-241-0/+6
| | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: imx: select MFD_MC13XXX for all boards that need itLucas Stach2014-11-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | This was only done for some of the boards and while it is ok to build those boards without regulator support it may potentially yield non-working barebox binaries. This is clearly not what the user wanted. Also select the appropriate bus support needed for the MC13xxx. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: mach-imx: fix Eukrea CPUIMX51 Kconfig stringLucas Stach2014-11-071-1/+1
|/ | | | | | | | Was accidently preplaced by the Karo-TX 51 string, restore the previous state. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: add support for Karo TX6X familySteffen Trumtrar2014-09-191-0/+4
| | | | | | | | 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>
* arm: imx6: add Gateworks Ventana boardLucas Stach2014-09-171-0/+3
| | | | | | | | | | | | For now only the Quad 1GB variant is supported. Tested: - starting barebox over USB - writing barebox to NAND with barebox_update - starting Linux kernel over TFTP Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6Q: Add support for Embedsky E9 board.Andrey Panov2014-07-171-0/+6
| | | | | | | | | | This will add support for Embedsky E9 board. It is a small board based on i.MX6 Quad with 2G of RAM. http://en.embedsky.com/product_info.php?cateid=169&id=169 Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: imx6: rename hummingboard directory to microsomLucas Stach2014-07-011-2/+2
| | | | | | | | | | The rule in barebox is to name the directories after the modules. As hummingboard is just one of the carriers for the MicroSOM module, name the directory accordingly. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Phytec-phyCORE-imx27: Switch to multiimage supportSascha Hauer2014-06-131-8/+9
| | | | | | | Tested on the phyCORE-imx27 to boot on NOR and NAND using the registered update handlers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: PCM038: Switch to devicetree probeAlexander Shiyan2014-06-121-12/+0
| | | | | | | | This patch removes non-DT support for PCM-038/PCM-970 and switch to devicetree probe for these targets. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: Phytec-phyCARD-i.MX27: Switch to multi-image supportSascha Hauer2014-05-101-9/+9
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx6: ocotp: Add On-Chip OTP registers write supportUladzimir Bely2014-05-051-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | FUSEs (OTP registers) can be written via /dev/imx-ocotp character device. For example, writing MAC 12:34:56:78:9A:BC can be performed as > mw -l -d /dev/imx-ocotp 0x8c 0x00001234 > mw -l -d /dev/imx-ocotp 0x88 0x56789ABC and reading as > md -l -s /dev/imx-ocotp 0x88+8 00000088: 56789ABC 00001234 , where 0x88 (0x22*4) and 0x8C (0x23*4) are offsets of MAC OTP registers. Notice: FUSEs are PROM, so "0" (unprogrammed) bits can be replaced with "1" (but not vice versa) only once. Also, for MAC there are convinient parameters: > ocotp0.permanent_write_enable=1 > ocotp0.mac_addr=12:34:56:78:9A:BC imx_ocotp 21bc000.ocotp: reloading shadow registers... imx_ocotp 21bc000.ocotp: reloading shadow registers... > echo $ocotp0.mac_addr 12:34:56:78:9A:BC Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx6: Add support for phyCARD-i.MX6Christian Hemp2014-04-301-0/+5
| | | | | | | | | | Add support for Phytec phyCARD-i.MX6. - 1GB RAM on two banks - 1GB RAM on one bank - 2GB RAM on two banks Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* RiOTboard: add new boardEric Bénard2014-04-291-0/+4
| | | | | | | | | | | | | | | | | | | | | this board is produced by Embest/Element 14 and is based on i.MX6 Solo The following features are tested : - UART2 (console) - eMMC - SDCard - uSDCard - Ethernet - USB Host (through 4 ports hub) - I2C 1/2/3 - 2 LEDs Boot on eMMC and through USB loader are tested. For more informations on this board : http://www.riotboard.org/ Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx-phyflex'Sascha Hauer2014-04-041-1/+1
|\ | | | | | | | | Conflicts: arch/arm/boards/phytec-phyflex-imx6/board.c
| * ARM: pfla02: Add support for DualLite and Solo coreChristian Hemp2014-03-261-1/+1
| | | | | | | | | | Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2014-04-041-0/+6
|\ \
| * | ARM: i.MX6: Add Nand boot bbu handlerSascha Hauer2014-04-031-0/+6
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / ARM: i.MX6: Add initial variscite VAR-SOM-MX6 CPU supportSascha Hauer2014-03-281-0/+6
|/ | | | | | | | | | The VAR-SOM-MX6 is a System on module from Variscite, see: http://www.variscite.com/products/system-on-module-som/cortex-a9/var-som-mx6-cpu-freescale-imx6 This adds support for this module on the VAR-MX6CustomBoard baseboard. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx-image'Sascha Hauer2014-03-071-4/+4
|\ | | | | | | | | Conflicts: arch/arm/dts/Makefile
| * ARM: i.MX6: sabresd: switch to multi-imageLucas Stach2014-02-191-4/+4
| | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>