summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap/omap3_core.S
Commit message (Collapse)AuthorAgeFilesLines
* ARM: OMAP3: invalidate L2 cache using ROM APISascha Hauer2013-03-041-87/+0
| | | | | | | Code taken from U-Boot. This makes the beagle board much more reliable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP boards: switch to barebox_arm_entrySascha Hauer2013-02-041-7/+4
| | | | | | | | | 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: 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>
* ARM omap3: Call common_resetSascha Hauer2012-12-081-0/+1
| | | | | | | omap3 has a soc specific reset function, make sure it calls common_reset so that the proper CPU flags are set. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Remove old, inaccurate "FileName:" cruft from ARM filesRobert P. J. Day2012-12-051-5/+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: Put reset() into its own sectionSascha Hauer2012-11-021-0/+1
| | | | | | | | Needed so that the linker can throw it away when unused. This is needed at least on current master for being able to enable pbl support for omap3 boards. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/arm-board-reset'Sascha Hauer2012-10-031-3/+6
|\ | | | | | | | | | | | | | | Conflicts: arch/arm/cpu/start-reset.c arch/arm/include/asm/barebox-arm.h arch/arm/mach-omap/Kconfig arch/arm/mach-omap/omap3_core.S
| * ARM: give boards control of the reset entry pointJan Luebbe2012-09-271-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | On some SoCs (for example AM35xx), the ROM bootloader passes useful information in r0 when jumping to barebox. To avoid overwriting this in the generic reset code, we introduce common_reset as a C function and as an assembler macro. This is then called form the reset entry point (either in common or in board code). This patch is based on code by Sascha Hauer <s.hauer@pengutronix.de>. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP3: rename arch_init_lowlevel to board_init_lowlevelSascha Hauer2012-09-271-6/+2
| | | | | | | | | | | | | | | | | | | | | | OMAP3 is the only architecture which has a arch_init_lowlevel in which it invalidates the dcache. This can easily be done in board_init_lowlevel aswell. Since on OMAP3 we are always executed in SRAM we'll never need a board specific lowlevel_init. So the easiest way of getting rid of this special handling is to just rename the function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP: remove SRAM stackSascha Hauer2012-09-271-2/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/arm-remove-arch-init-ll'Sascha Hauer2012-10-031-8/+2
|\ \ | | | | | | | | | | | | Conflicts: arch/arm/include/asm/barebox-arm.h
| * | ARM OMAP3: rename arch_init_lowlevel to board_init_lowlevelSascha Hauer2012-09-251-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OMAP3 is the only architecture which has a arch_init_lowlevel in which it invalidates the dcache. This can easily be done in board_init_lowlevel aswell. Since on OMAP3 we are always executed in SRAM we'll never need a board specific lowlevel_init. So the easiest way of getting rid of this special handling is to just rename the function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM OMAP: remove SRAM stackSascha Hauer2012-09-251-2/+0
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / 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>
* ARM omap3: make omap3_core.S thumb safeSascha Hauer2012-01-171-2/+6
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sanjeev Premi <premi@ti.com>
* ARM omap3: remove vector setup from lowlevel codeSascha Hauer2012-01-171-36/+5
| | | | | | | | No need to do this so early. We can't print anything right now anyway, so there is no need to setup vectors. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sanjeev Premi <premi@ti.com>
* ARM omap3: call a_init from board codeSascha Hauer2012-01-171-9/+0
| | | | | | | | 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: remove OMAP3_COPY_CLOCK_SRAMSascha Hauer2012-01-171-8/+0
| | | | | | | | | | The X-loader startup relocates to SRAM anyway, so there is no need to be runnable from flash for the clock code. This config is disabled in all defconfigs anyway, so remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sanjeev Premi <premi@ti.com>
* omap3: add arch specific dcache invalidateNishanth Menon2010-08-251-0/+43
| | | | | | | | | | | | | | | | | | | | | | Add OMAP3 architecture specific dcache flush back in. Commit 78104ae181f78d83664fdc7522eb632d9c3b2ec9 isolates the cache handling to appropriate handlers, but certain architectures may need special handling esp during boot time. without this patch, building barebox with omap3530_beagle_per_uart_defconfig and attempting to use peripheral download with pusb/pserial will fail as OMAP ROM code depends on 2nd stage bootloaders to clean up things. Discussion Thread: http://www.spinics.net/lists/u-boot-v2/msg01286.html Cc: Michael <mgr@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* OMAP: fix compilationSascha Hauer2010-06-231-1/+1
| | | | | | | This got broken during the switch to implement the lowlevel functions in C. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-221-3/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* 011-OMAP-add-siliconNishanth Menon2008-06-051-0/+101
[Patch 11/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP3 Silicon files This patch introduces support for OMAP3430 - provides for generic OMAP3 files. Signed-off-by: Nishanth Menon<x0nishan@ti.com>