summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/pcm038
Commit message (Collapse)AuthorAgeFilesLines
* ARM: rename boards to more consistent namingSascha Hauer2014-02-0310-794/+0
| | | | | | | | | | This renames the Freescale and Phytec board directories and defconfig files to a common naming scheme. The board directories are named <vendor>-<board> and the defconfig files are named <vendor>-<board>_defconfig. Also the DataModul realq7 is renamed to its Marketing Name eDM-QMX6. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: cleanup bootmode selectionSascha Hauer2014-01-311-5/+5
| | | | | | | | | | | | Which bootmode is selected has no longer to be chosen by Kconfig. The boards can decide themselves which bootmode they want to support. This makes it unnecesary to ask the user which bootmode shall be supported, so the "Select boot mode" becomes invisible and both support will be compiled in as needed by the boards. NAND_IMX_BOOT goes away and the already existing ARCH_IMX_EXTERNAL_BOOT_NAND can now be used for the boards to depend on external nand boot. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: external NAND boot: pass boarddataSascha Hauer2014-01-291-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: remove armlinux_set_bootparams() calls from boardsSascha Hauer2014-01-061-1/+0
| | | | | | | As the place for the atags now is determined automatically the call from the boards can be removed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/boardinfo'Sascha Hauer2013-09-052-1/+3
|\ | | | | | | | | | | | | Conflicts: arch/mips/boards/qemu-malta/init.c commands/bootm.c drivers/of/base.c
| * Set model and hostname at boardlevelSascha Hauer2013-08-162-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | With multiboard support the compiletime generated BOARDINFO string gets more and more meaningless. This removes it from Kconfig and replaces it with a variable that can be set at boardlevel. Also many boards have a standard setting for the hostname in the environment. This patch also moves the standard to C code by calling barebox_set_hostname(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: include <gpio.h> instead of <mach/gpio.h>Sascha Hauer2013-08-162-2/+2
|/ | | | | | The gpio api should be used from <gpio.h> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: mc13xxx: Separate query_revision function for each supported ICAlexander Shiyan2013-07-151-1/+1
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Revert "ARM: i.MX27 pcm038: switch to multi image"Sascha Hauer2013-07-091-3/+1
| | | | | | | | | | | This reverts commit 08c0e206b3614eeecc1c3cee63665077360212e5. The external NAND boot code currently uses the _text linker variable to determine a place for the image. This doesn't work with multi image support which will link the binary at 0x0. Revert multi image support for the pcm038 for now until a solution is found. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/multi-image'Sascha Hauer2013-07-011-1/+3
|\
| * ARM: i.MX27 pcm038: switch to multi imageSascha Hauer2013-07-011-1/+3
| | | | | | | | | | | | | | | | | | This also converts the Phytec phyCORE i.MX27 aka pcm038 to use image compression. The image will be named barebox-phytec-phycore-imx27.img Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2013-07-011-7/+11
|\ \ | |/ |/| | | | | Conflicts: drivers/usb/imx/chipidea-imx.c
| * ARM: pcm038: Add setup for MC13783 IRQ pinAlexander Shiyan2013-06-171-6/+9
| | | | | | | | | | | | | | | | | | Kernel does not have pinctrl driver for i.MX27 yet. When we using DT, this cause to unable setup pins to desired function. This patch adds a setup for MC13783 IRQ pin to avoid this issue. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: pcm038: Avoid warning if gadget support not compiled inAlexander Shiyan2013-06-171-1/+2
| | | | | | | | | | | | | | | | Without this patch the chipidea driver reports 'No supported role' during runtime. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pcm038: Fix partition size definitionsAlexander Shiyan2013-06-111-10/+8
|/ | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: pcm038: Add support for USB OTG deviceAlexander Shiyan2013-05-301-2/+15
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: PCM970: Add definition for SPI CS1Alexander Shiyan2013-05-301-2/+11
| | | | | | | | | This chipselect is used on RDK Zigbee connector. Since we cannot define additional chipselect after SPI is initialized, define this one in main SPI initialization in PCM038 SOM. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/remove-config-h'Sascha Hauer2013-05-061-22/+0
|\
| * Remove unused config.hAlexander Shiyan2013-04-091-22/+0
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pcm038: Add definition for FEC resetAlexander Shiyan2013-05-041-0/+3
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pcm038: Add definition for SPI chipselect 0Alexander Shiyan2013-05-041-2/+4
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pcm038: Add descriptions for pin-groupsAlexander Shiyan2013-05-041-1/+4
|/ | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc-arm'Sascha Hauer2013-04-041-1/+1
|\
| * include asm/sections.h instead of asm-generic/sections.hSascha Hauer2013-03-101-1/+1
| | | | | | | | | | | | To let the architectures override asm-generic/sections.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/fec'Sascha Hauer2013-04-041-1/+1
|\ \
| * | net: fec: use standard phy type definesSascha Hauer2013-03-091-1/+1
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | bootsource: create arch independent bootsource frameworkMarc Kleine-Budde2013-04-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This patch seperates the imx independent from the arch independent code. The following functions and enums are renamed: - imx_bootsource() -> bootsource_get() - imx_set_bootsource() -> bootsource_set() - enum imx_bootsource -> enum bootsource Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX bootsource: convert enums from enum imx_bootsource to uppercaseMarc Kleine-Budde2013-03-261-1/+1
|/ | | | | | | Enums are in the same way as defines, so write them in uppercase. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2013-03-042-2/+2
|\
| * switch boards to lwl-yJean-Christophe PLAGNIOL-VILLARD2013-02-211-2/+2
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * defenv2: move config-board out of /env/initSascha Hauer2013-02-141-0/+0
| | | | | | | | | | | | | | | | | | | | Having the board config file in /env/init has the problem that the settings in /env/config are overwritten in the init sequence. This moves the config-board files to /env/ and sources them explicitly from /env/bin/init before sourcing /env/config Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pcm038: Using "get_ram_size" for determine SRAM sizeAlexander Shiyan2013-02-251-3/+7
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pcm970: Replace #ifdef with IS_ENABLED()Alexander Shiyan2013-02-251-5/+2
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pcm970: Fix bug with CompactFlashAlexander Shiyan2013-02-251-2/+2
| | | | | | | | | | | | | | Patch adds missing MX27_PCMCIA_CTL_BASE_ADDR offset for "readl" operator. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pcm038: Fix serial number IIM-addressAlexander Shiyan2013-02-251-1/+1
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pcm038: Remove duplicate imx27_barebox_entry() callAlexander Shiyan2013-02-251-2/+0
|/ | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: rename reset and common_reset to barebox_arm_reset_vector and ↵Jean-Christophe PLAGNIOL-VILLARD2013-02-081-2/+2
| | | | | | | | | arm_cpu_lowlevel_init reset is confusing with the cpu reset and impossible to grep Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX boards: switch to barebox_arm_entrySascha Hauer2013-02-041-2/+4
| | | | | | | Most i.MX boards can use the imx*_barebox_entry functions. The remaining (i.MX21, i.MX6) use hardcoded base addresses. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Use SRAM stack in lowlevel codeSascha Hauer2013-02-041-1/+1
| | | | | | | | Several i.MX boards setup a temporary stack in their lowlevel code. Instead of using STACK_BASE use a stack in internal SRAM to get rid of the STACK_BASE compile time dependency. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2013-02-041-30/+4
|\
| * ARM i.MX boards: use helper function for external NAND bootSascha Hauer2013-01-201-30/+4
| | | | | | | | | | | | | | Use helper function for external NAND boot to get some positive diffstat. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM pcm038: Specify pr_fmt and change messages to pr_*Sascha Hauer2013-01-271-2/+3
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: Stop ongoing ULPI transfers before registering the transceiverSascha Hauer2012-12-131-2/+8
| | | | | | | | | The ULPI lines are normally input to the USB port. In order to configure the ULPI transceiver properly the ongoing transfers must be stopped. This can be done by configuring the the STP pin as gpio output and drinving it high. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX pcm038: switch to chipidea supportSascha Hauer2012-12-131-26/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX boards: use esdctl code to detect sdram sizeSascha Hauer2012-12-061-10/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2012-11-164-81/+85
|\ | | | | | | | | | | | | Conflicts: arch/arm/boards/guf-neso/lowlevel.c arch/arm/boards/pcm038/lowlevel.c commands/Makefile
| * ARM i.MX: get rid of imx-regs.hSascha Hauer2012-10-173-3/+3
| | | | | | | | | | | | | | | | | | - remove now unused __REG definitions - include individual SoC register files instead of imx-regs.h - move IMX_GPIO_NR to generic.h - finally remove imx-regs.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX27: Cleanup remaining unprefixed registersSascha Hauer2012-10-174-56/+62
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX: Use SoC specific base to access sdram controller registersSascha Hauer2012-10-171-7/+14
| | | | | | | | | | | | | | | | This redefines the sdram controller registers as offsets to the base rather than as absolute addresses. All users are fixed to use the SoC specific base address. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge branch 'for-next/clk' into for-next/imxSascha Hauer2012-10-173-7/+0
| |\ | | | | | | | | | | | | Conflicts: drivers/net/fec_imx.c