summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards
Commit message (Collapse)AuthorAgeFilesLines
...
| * | ARM: clps711x: clep7212: Register board env during runtimeAlexander Shiyan2016-07-1810-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | Register the board specific environment during runtime using defaultenv_append_directory(). Also this patch updates default config. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: clps711x: clep7212: Increase the wait state for chip select 3Alexander Shiyan2016-07-181-1/+1
| |/ | | | | | | | | | | | | | | | | CS3 is used for a variety of external bus devices. Increase the wait state for this chip select for the possibility of more widespread use. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / include: Move bulk of boot.h to bootm.hSascha Hauer2016-07-261-2/+1
|/ | | | | | | | The majority of the stuff currently in include/boot.h is about bootm code implemented common/bootm.c. To be more consistent move it to a new file include/bootm.h. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/omap'Sascha Hauer2016-07-111-1/+9
|\
| * ARM: phytec-som-am335x: Add backup partition for bareboxTeresa Remmet2016-06-301-0/+1
| | | | | | | | | | | | | | | | Add a redundant barebox partition to improve nand safety at least a little bit. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * OMAP: am33xx_bbu_nand: Extent barebox update handlerTeresa Remmet2016-06-301-1/+6
| | | | | | | | | | | | | | | | Make it possible to write barebox image to multiple partitions like xload partitions. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * OMAP: xload: nand: Check for redundant barebox partitionTeresa Remmet2016-06-301-0/+2
| | | | | | | | | | | | | | | | Add a support for a redundant barebox backup partition if loading barebox image from first barebox partitions fails. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2016-07-1131-66/+726
|\ \
| * | ARM i.MX35: Add support for the Amazon Kindle3Alexander Kurz2016-07-1113-0/+528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Amazon Model No. D00901 Kindle3 is an E-Book reader based on the i.MX35 SOC. The device boots in internal boot mode from a build-in eMMC, alternatively the device may be set into USB-downloader mode when the Vol+ key is pressed on startup. Add support for this device and make barebox a drop-in replacement for the factory shipped u-boot image. Constraints for the use as drop-in replacement: - imximg header (offset 0x400) has a maximum size of 2kB minus 16 byte since the last 16 bytes are used to store a vendor specific hardware desctription identifier - the bootloader space (application plus env) is limited to 256kB minus 16 bytes when installed with offset of 4kB (the u-boot offset was 3kB). A vendor specific device identifier is stored in the gap between application and kernel. The vendor specific identifiers should not be overwritten. Notable features: - Support for eMMC, USB, UART, I2C, SPI and Keys (except keyboard) - Full support for vendor specific ATAGs - usbserial barebox console access by pressing Select button at startup, alternatively full console support on connector J14. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mfd: mc13xxx: VGEN1 and VGEN2 voltage bits positioned in "Regulator Setting ↵Alexander Shiyan2016-07-071-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0" register The bits VGEN10-11 and VGEN20-22 is positioned in the Regulator Setting 0 register. This patch fixes these definitions and board (Efika MX), which uses this voltages. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@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>
| * | imx35-regs: add and use common CGR element shiftersAlexander Kurz2016-07-043-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add some missing Clock Gate Register element shifters which were implemented as magic numbers in the arm/boards directory. Use the new shifters for inproved code readability. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | eukrea-cpuimx35: Fix wrong clock gating for ESDHC1Alexander Kurz2016-07-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | With commit 962d8b89d2ce ("imx35-regs: add defines for USB and SD") the shifter argument for the iMX35 ESDHC1 CGR instance has been erroneously assigned to CGR1 instead of CGR0. Fix this for the eukrea-cpuimx35 board. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX: de-duplicate PLL initializer macrosAlexander Kurz2016-07-048-33/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Macros for three PLL setups got cloned in different board specific subdirs. Re-unify those macros into a common place and avoid checkpatch 80-char warnings when creating a new board subdir. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM iMX53: avoid magic number addressing for internal RAMAlexander Kurz2016-06-276-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | The imx53 SOC features 128kB of internal SRAM which is commonly used in early stages of barebox to store the stack. Avoid magic numbers while addressing this RAM. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: boards: variscite-mx6: Remove the excess assignmentAlexander Shiyan2016-06-201-10/+5
| |/ | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / arm: boards: add mach-qemu and virt64 boardRaphael Poggi2016-07-066-0/+110
|/ | | | | | | Introduce mach-qemu and add qemu virt64 board which emulates arm64 board. Signed-off-by: Raphael Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/mxs'Sascha Hauer2016-06-143-3/+3
|\
| * ARM: mxs: add parameter to mx28_mem_init to allow custom memory configUwe Kleine-König2016-05-103-3/+3
| | | | | | | | | | | | | | | | | | | | Rename the already global array of default memory settings to make the intended usage more obvious. Also make generous use of the const keyword. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | MCI: imx-esdhc: Allow to use 1-bit bus width in board filesAlexander Shiyan2016-05-312-0/+4
|/ | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2016-05-096-7/+7
|\
| * whole tree: remove trailing whitespacesDu Huanpeng2016-04-216-7/+7
| | | | | | | | | | Signed-off-by: Du Huanpeng <u74147@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/include-pdata'Sascha Hauer2016-05-0954-55/+30
|\ \
| * | include: Move ide platform_data to include/platform_dataSascha Hauer2016-04-151-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | include: Move smc911x eth platform_data to include/platform_dataSascha Hauer2016-04-151-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | include: Move dm9000 eth platform_data to include/platform_dataSascha Hauer2016-04-157-7/+6
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | include: Move ns16550 serial platform_data to include/platform_dataSascha Hauer2016-04-159-9/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | include: Move fec eth platform_data to include/platform_dataSascha Hauer2016-04-1532-32/+16
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | include: Move smc91111 eth platform_data to include/platform_dataSascha Hauer2016-04-154-4/+4
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | include: Move ep93xx eth platform_data to include/platform_dataSascha Hauer2016-04-151-1/+1
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/include-cleanup'Sascha Hauer2016-05-094-11/+11
|\ \
| * | string: Fix (v)asprintf prototypesSascha Hauer2016-04-154-11/+11
| |/ | | | | | | | | | | | | | | | | | | Our asprintf and vasprintf have different prototypes than the glibc functions. This causes trouble when we want to share barebox code with userspace code. Change the prototypes for (v)asprintf to match the glibc prototypes. Since the current (v)asprintf are convenient to use change the existing functions to b(v)asprintf. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx6-phytec'Sascha Hauer2016-05-098-17/+67
|\ \
| * | ARM: phytec-som-imx6: add automount for first partition on eMMCStefan Christ2016-05-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | For the phyCORE-i.MX6 add an automount command for the first partition on the eMMC device. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phytec-som-imx6: adapt main update handler for eMMCStefan Christ2016-05-021-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | Some phyCORE-i.MX6 variants have eMMC instead of a NAND chip. Provide an update_handler for them. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phytec-som-imx6: rename environment folderStefan Christ2016-05-024-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The extra environment folder for the phyCORE-i.MX6 had the suffix '-mira'. That's the name of a baseboard. Since the bootloader is generic for all baseboards, use a generic suffix for the environment folder. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phytec-som-imx6: update RAM calibration for phycore-imx6dlStefan Christ2016-05-021-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update RAM calibration values in the flashheader file for phyCORE-i.MX6 DualLite/Solo. These are verified and tested in the climatic chamber for commercial, extended commercial, industrial and automotive i.MX6 variants. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phytec-som-imx6: add phyCORE-i.MX6 DualLiteStefan Christ2016-05-023-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Phytec phyCORE-i.MX6 SOM. Support: - imx6dl-phytec-phycore-som-emmc: - 1GB RAM on 1 Bank with 64Bit - 10/100MBit Ethernet - SPI NOR - eMMC - SD - UART Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phytec-som-imx6: add phyCORE-i.MX6 Quad 2GiB RAMChristian Hemp2016-05-022-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new Phytec phyCORE-i.MX6 SOM: Support: - imx6q-phytec-phycore-som-emmc: - 2GiB RAM on 1 Bank with 64Bit - 1GBit Ethernet - SPI NOR - eMMC - SD - UART Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phytec-som-imx6: fix bootsource for phyCORE-i.MX6Stefan Christ2016-05-021-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The phyCORE-i.MX6 has either a NAND or EMMC storage device and an external SD-Card interface. The automatic bootsource detection in the barebox environment should reflect that. - If the board was booted from the external SD-Card interface, it should continue loading the kernel and device tree from it. - If the board was booted from EMMC, it should load kernel and device tree from the boot partition on the EMMC. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: imx6q: add support for phyBOARD-SUBRA-i.MX6 QuadStefan Christ2016-05-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for phyBOARD-SUBRA-i.MX6 with phyFLEX-i.MX6 Quad 1GiB on one bank. This patch factors out the common device tree nodes for the Quad and Solo variant into 'imx6qdl-phytec-phyboard-subra.dtsi'. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/imx'Sascha Hauer2016-05-093-1/+205
|\ \ \
| * | | 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: GuF Vincell: run code for LT variant aswellSascha Hauer2016-04-271-1/+2
| | |/ | |/| | | | | | | | | | | | | | | | The LT variant has a different compatible, yet we want to run the code on this variant aswell. Add the corresponding test. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/arm'Sascha Hauer2016-05-092-0/+21
|\ \ \ | |_|/ |/| |
| * | ARM: board: phytec-som-am335x: RAM timings for phycore-r2 1GBTeresa Remmet2016-04-192-0/+21
| |/ | | | | | | | | | | | | | | Add new RAM Timings for phyCORE R2 with MT41K512M16HA-125IT 1024MB mounted. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / ARM: i.MX53: ccxmx53: Fix memory detection.Jason Cobham2016-04-212-18/+25
|/ | | | | | | | | This patch fixes memory detection on the Digi ccxmx53 board. Also updates dts to support nand. Cleaned up whitespace? Signed-off-by: Jason Cobham <cobham.jason@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: remove unused imx-flash-header.hSascha Hauer2016-04-016-6/+0
| | | | | | | All i.MX images are nowadays built with the imx-image tool, so we do not need the header files and Kconfig options anymore. Remove them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2016-03-111-1/+7
|\
| * edb9302 eth: provide proper phy configAlexander Kurz2016-02-251-1/+7
| | | | | | | | | | | | | | | | The evaluation boards EDB9302 and Olimex-CS-E9302 both use a KS8721BL transceiver in default strapping which is phy_addr=1 Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>