summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/omap343xdsp
Commit message (Collapse)AuthorAgeFilesLines
* include: Move ns16550 serial platform_data to include/platform_dataSascha Hauer2016-04-151-1/+0
| | | | 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>
* Documentation: remove doxygen documentationSascha Hauer2014-06-261-26/+0
| | | | | | | The doxygen documentation is long outdated. Remove it. It will be replaced with sphinx based documentation later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: change signature of barebox_arm_entryLucas Stach2014-05-051-1/+1
| | | | | | | | | | | Mostly to make it clear that boarddata needs to be something we can dereference. As this is a pretty invasive change, use the opportunity to make the signature 64bit safe. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: OMAP: Add SoC prefix to running_in_* functionsSascha Hauer2013-11-221-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/omap'Sascha Hauer2013-09-051-1/+2
|\ | | | | | | | | Conflicts: arch/arm/boards/pcm051/env/config
| * ARM: omap: fix omap_save_bootinfoSascha Hauer2013-08-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | omap_save_bootinfo derefences the argument passed to barebox without checking it for validity. This breaks 2nd stage booting where r0 is undefined. The best we can do is to check whether the pointer is somewhere in SRAM and is word aligned. This at least makes sure that we do not oops. This introduces SoC specific xxx_save_bootinfo variants since the SRAM addresses/sizes differ between SoCs. Additionally fix the prototype for omap_save_bootinfo. It uses r0, so it must be passed this variable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Set model and hostname at boardlevelSascha Hauer2013-08-161-4/+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: omap: store boot source info from ROM loaderTeresa Gámez2013-07-101-1/+5
| | | | | | | | | | | | | | | | | | The ROM loader passes the address of a buffer to the MLO in register 0. Store this data so we can find the boot source later. On the same way the bootinformation are passed to the barebox, then. It has to be enshured that r0 contains always the buffer or the boot source detection will not work. Applied this on all OMAPs. This patch is based on work of Jan Luebbe <jlu@pengutronix.de>. Compile tested on all OMAP boards. Tested on pcm049, phyCARD-A-L1 and pcm051. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Tested-by: Christoph Fritz <chf.fritz@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Remove unused config.hAlexander Shiyan2013-04-091-17/+0
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: OMAP3: invalidate L2 cache using ROM APISascha Hauer2013-03-041-2/+0
| | | | | | | Code taken from U-Boot. This makes the beagle board much more reliable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* switch boards to lwl-yJean-Christophe PLAGNIOL-VILLARD2013-02-211-2/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 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 OMAP boards: switch to barebox_arm_entrySascha Hauer2013-02-041-2/+13
| | | | | | | | | All boards use hardcoded SDRAM addresses, copied from the board init file. OMAP3 boards are a bit special, they had a SoC specific reset() function. This is renamed to omap3_invalidate_dcache() and called from the board lowlevel init code now. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP: use SZ_*M constants in RAM device register functionsAntony Pavlov2013-01-301-1/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap3 omap343xdsp: move lowlevel code to lowlevel.cSascha Hauer2013-01-293-547/+548
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP: Apply RAM device register functions to boardsTeresa Gámez2012-12-211-1/+1
| | | | | | | 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 omap3: Add change OMAP_ prefix to OMAP3_ for registersSascha Hauer2012-12-201-16/+16
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap3: Use device register functions in boardsSascha Hauer2012-12-191-9/+2
| | | | 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>
* Remove old, inaccurate "FileName:" cruft from ARM filesRobert P. J. Day2012-12-051-2/+0
| | | | | | | | | In addition, collapse adjacent comment blocks into one and remove extraneous blank lines. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP3 boards: Call omap3_core_init only from SRAMSascha Hauer2012-11-021-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-172-8/+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>
* devices: fix missing conversion to DEVICE_ID_DYNAMICJean-Christophe PLAGNIOL-VILLARD2012-08-121-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap343xdsp: remove nonexistent includeSascha Hauer2012-02-091-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap3: call a_init from board codeSascha Hauer2012-01-171-0/+3
| | | | | | | | There is no need to call a_init before relocation, so rename the function to omap3_core_init and call it from board code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sanjeev Premi <premi@ti.com>
* ARM omap3: move board_init to pure_initcallSascha Hauer2012-01-171-1/+4
| | | | | | | | | board_init initializes the mux and sdram. For both there is no need to configure this so early. Move the code to a pure_initcall and remove the surrounding unneeded code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sanjeev Premi <premi@ti.com>
* omap343xdsp: move to arch/arm/boards/omap343xdspJean-Christophe PLAGNIOL-VILLARD2012-01-163-0/+668
this will allow to create it's own env/config Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>