summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/pcm049/board.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: rename boards to more consistent namingSascha Hauer2014-02-031-313/+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: 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-051-0/+3
|\ | | | | | | | | | | | | Conflicts: arch/mips/boards/qemu-malta/init.c commands/bootm.c drivers/of/base.c
| * Set model and hostname at boardlevelSascha Hauer2013-08-161-0/+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-161-1/+1
|/ | | | | | The gpio api should be used from <gpio.h> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: omap4: pcm049: register devices only when support is enabledSascha Hauer2013-07-221-2/+4
| | | | | | | With other changes coming into the tree the binary is getting too big. Save some space by not registering devices for which no support is available. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm049: Add platformcode for omap4 framebufferChristoph Fritz2013-07-021-0/+188
| | | | | | | | | | | | For splashscreen support on pcm049, this patch adds omap4 framebuffer platform data and configures display pd050vl1, g104x1, pm070wl4, pd104slf, edt_etm0350G0dh6, edt_etm0430G0dh6, edt_etmv570G2dhu and edt_etm0700G0dh6 Also add extra muxing and defconfig Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com> Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm049: add 1GB RAM supportTeresa Gámez2013-05-301-0/+4
| | | | | | | | Add config to select RAM assembly. The difference is if one or two chip selects are used. This can't be checkt at runtime. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* OMAP: Move bootsource functionsTeresa Gámez2013-04-031-1/+0
| | | | | | | | | | | The bootsource functions are not specific to the first stage bootloader. They may also be used for detecting the bootsource to decide where to load the environment from. Also clean up includes in board files. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP: Apply RAM device register functions to boardsTeresa Gámez2012-12-211-3/+2
| | | | | | | Apply RAM and SRAM register functions to all OMAP boards. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap4: Use device register functions in boardsSascha Hauer2012-12-191-13/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap: include individual SoC filesSascha Hauer2012-12-191-1/+1
| | | | | | | - remove mach/silicon.h and include omap?-silicon.h directly - include mach/omap?-clock.h directly where needed Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/remove-fsf-address'Sascha Hauer2012-10-031-4/+0
|\ | | | | | | | | | | Conflicts: drivers/net/miidev.c include/miidev.h
| * Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-4/+0
| | | | | | | | | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm049 phycard l + xl2: update partion sizesJan Weitzel2012-09-141-2/+2
|/ | | | | | | | Use 512k NAND Partion for barebox in enviroment and boards code pcm049: use 4MB for kernel Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm049: use NAND_BUSWIDTH_AUTOJan Weitzel2012-08-281-1/+0
| | | | | | | autodetect bus width Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP gpmc nand: specify platform data in boardsSascha Hauer2012-08-031-2/+8
| | | | | | | | | Instead of passing several options into the nand register function it is much more straight forward to just pass the platformdata. While at it, rename the function to omap_add_gpmc_nand_device to better describe what it does. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Removed duplicate definition for DEVFS_PARTITION_xxxAlexander Shiyan2012-05-131-3/+3
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Use DEVICE_ID_DYNAMIC where applicableSascha Hauer2012-04-161-4/+5
| | | | | | | We now have DEVICE_ID_DYNAMIC for dynamic allocation of device ids, Use it where applicable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* devices-gpmc-nand: Add OMAP4 gpmc nand timingsTeresa Gámez2012-03-151-1/+2
| | | | | | | | Add a OMAP4 specific GMPC nand config for pcm049 and phyCARD-A-XL2 to increase performance. Also add the possiblility to pass a board GPMC nand config. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm049: Update GPMC net confTeresa Gámez2012-03-151-6/+6
| | | | | | | Updated GPMC settings for ethernet to increase performance. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm049-i2c: add i2c and twlcore to pcm049Alexander Aring2011-12-211-0/+11
| | | | | | | Add i2c-omap and twlcore driver to pcm049 board. Signed-off-by: Alexander Aring <a.aring@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* omap: Unify run_shell() in xload configurationSanjeev Premi2011-11-111-30/+0
| | | | | | | | | | | | | | Currently, there are multiple definitions of run_shell() for each board that can be build in "xload" configuration. Now there is only one function used by all boards. The functions defined in xload.c are used only when "xload" configuration used; but it gets compiled unconditionally. This has been fixed as well. Signed-off-by: Sanjeev Premi <premi@ti.com> Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2011-10-091-1/+1
|\
| * introduce io.hSascha Hauer2011-09-221-1/+1
| | | | | | | | | | | | | | To allow for some generic io accessors introduce io.h and use this instead of asm/io.h throughout the tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Corrected ns16550 access at all omap based boards.Juergen Kilb2011-09-121-0/+1
|/ | | | | | | | | | | | | | Commit c71a77ab8 (ns16550: switch to resource) has introduced generic read/write access to 16550 register and a 'shift' parameter to allign register index to physicall registers. The correct 'shift' value was missing in all omap based boards. Corrected this to 2 which has fixed the problem. Tested on a PCM-049 phyCORE-OMAP4 board. Signed-off-by: Juergen Kilb <J.Kilb@phytec.de> Tested-by: Jan Weitzel <J.Weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM boards: remove now unnecessary mmu callsSascha Hauer2011-08-031-9/+0
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ARM boards: move sdram setup before mmu setupSascha Hauer2011-08-011-8/+8
| | | | | | | | | | | | The new MMU setup will need SDRAM base addresses and sizes. For this reason convert the MMU enabled ARM boards: - move mem setup to mem_initcall. This is early but still makes sure that we already have the console available - move MMU setup in this initcall temporary as after the mmu_init will generic Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* arm: introduce arm_add_mem_device to register dram deviceJean-Christophe PLAGNIOL-VILLARD2011-08-011-5/+1
| | | | | | this will automaticaly register the device to armlinux_add_dram Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ns16550: switch to resourceJean-Christophe PLAGNIOL-VILLARD2011-08-011-3/+1
| | | | | | | use generic read/write depending on the memory size if no reg_read/write defined Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ns16550: if not specific f_caps defined use default stdin, stdout, stderrJean-Christophe PLAGNIOL-VILLARD2011-07-301-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* omap: switch to add_generic_deviceJean-Christophe PLAGNIOL-VILLARD2011-07-291-16/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* add a ns16550 registration helper and use itSascha Hauer2011-07-291-9/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add a add_mem_device functionSascha Hauer2011-07-181-29/+7
| | | | | | | | | | | Add a helper function for boards to register their memory devices. This makes the board code smaller and also helps getting rid of map_base and struct memory_platform_data. And switch all of the memory to it Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* mem: replace DEVFS_RDWR by IORESOURCE_MEM_WRITEABLEJean-Christophe PLAGNIOL-VILLARD2011-07-181-2/+2
| | | | | | | we keep struct memory_platform_data for now on we will switch off the memories resources to struct resource Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* pcm049: use gpmc_generic_initJan Weitzel2011-06-111-0/+2
| | | | | | | | If booting from NAND GPMC_IRQ_ENABLE is not cleared, causing crash if kernel request the gpmc irq. gpmc_generic_init clears GPMC_IRQ_ENABLE Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm049: remove unused bootsrcJan Weitzel2011-04-181-3/+0
| | | | | Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap4: Add pcm049 board supportSascha Hauer2011-04-121-0/+200
This patch adds support for Phytecs pcm049 board Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>