summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu
Commit message (Collapse)AuthorAgeFilesLines
* ARM: add missing call to arch_init_lowlevelSascha Hauer2010-06-231-0/+3
| | | | | | | This got lost during the switch to implement the lowlevel stuff in C. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arch/arm/cpu/cpu.c: remove unused variableSascha Hauer2010-06-171-2/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm start.c: Make runtime function address calculation tolerant for more ↵Sascha Hauer2010-06-131-7/+10
| | | | | | compilers Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: use processor specififc functions to turn off MMUSascha Hauer2010-06-101-4/+11
| | | | | | | | The way it was done before does not work on Cortex processors. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Orjan Friberg <of@flatfrog.com> Tested-by: Luca Ceresoli <list@lucaceresoli.net>
* arm: reimplement startup code in CSascha Hauer2010-05-033-253/+109
| | | | | | | Lets translate the startup code to a language we all understand better. Tested on pcm038 (arm v5) and pcm043 (arm v6). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: move __mmu_cache_flush to bare_init sectionSascha Hauer2010-05-034-0/+9
| | | | | | | | Instead of having seperate cache flush functions in the startup code we want to call the generic functions. To accomplish this they have to be in the bare_init section. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: update icache functions to use get_cr/set_crSascha Hauer2010-05-031-81/+13
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: use memalign in dma_alloc_coherent to assure alignmentSascha Hauer2010-05-031-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add l2x0 cache supportSascha Hauer2010-03-304-0/+204
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add a wrapper around dma_* functionsSascha Hauer2010-03-305-16/+31
| | | | | | This is a preparation to add second level cache support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: replace cleanup_before_linux with the generic shutdown_barebox functionSascha Hauer2010-03-301-7/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove unused file arch/arm/cpu/cache.SSascha Hauer2010-03-181-70/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* armv5: use proper cache flush functionSascha Hauer2010-03-182-1/+114
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* start-arm: cleanup: proper indentionMarc Kleine-Budde2010-02-161-6/+6
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* arm/cpu/Makefile: cleanup: proper indentionMarc Kleine-Budde2010-02-161-5/+6
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* add armv6 support to the konfig systemSascha Hauer2010-02-011-0/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove typedef cmd_tbl_t and replace it with struct commandSascha Hauer2010-02-012-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Use cache functions from kernelSascha Hauer2010-02-015-25/+463
| | | | | | | | These cache functions have been extracted from arch/arm/boot/compressed/head.S. The old code only worked properly on ARMv4. Tested on ARMv4, ARMv5, ARMv6 hardware. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* documentation updatesJuergen Beisert2009-12-151-1/+0
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-153-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Some doxygen related fixesJuergen Beisert2009-12-142-12/+0
| | | | | | | | | | | | | | | | | | | | | | | Nishanth Menon wrote: > no signed off by and no diffstat? Ups. > can you use git-format-patch to send please? it is easier to review. Sure. Here it comes: jbe ------8<---------8<---------8<---------8<---------8<---------8<---- Subject: [PATCH] Some doxygen related fixes: - fix a few doxygen comments that are used in a wrong way - move some pages and their content to a better place in the generated documentation Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: add endian config supportJean-Christophe PLAGNIOL-VILLARD2009-11-031-0/+11
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: introduce CPU CONFIG from linuxJean-Christophe PLAGNIOL-VILLARD2009-11-033-6/+58
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: remove maxargsSascha Hauer2009-10-192-2/+0
| | | | | | | No need to check for maximum argument counts. The commands are safe to be called with more arguments, so lets safe some bytes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename dma macrosSascha Hauer2009-09-251-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* use _stext instead of TEXT_BASESascha Hauer2009-09-081-1/+1
| | | | | | | When checking if we have to relocate ourselves, use _stext instead of TEXT_BASE. TEXT_BASE might be the location of a pre image header. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add MMU supportSascha Hauer2009-08-194-0/+213
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* return is not a functionSascha Hauer2009-08-181-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Shutdown U-Boot before starting an OSSascha Hauer2009-03-191-0/+2
| | | | | | | | Some devices, especially the ones doing DMA should be disabled before giving control to an OS. We take the simple approach here: Just shutdown the devices in the reverse order they were activated. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix Exception handlingSascha Hauer2009-02-201-1/+1
| | | | | | Uh, oh, some copy paste bug which existed for nearly 2 years now Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add simple icache enable/disable commandSascha Hauer2009-02-061-0/+24
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] Add MX35 supportSascha Hauer2009-02-061-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add cpuinfo commandSascha Hauer2009-01-132-0/+138
| | | | | | | This command is useful to show some information about cp15 registers Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM startup code: Whitespace changesSascha Hauer2008-08-131-31/+27
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM startup: move exception handler to extra fileSascha Hauer2008-08-133-165/+181
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove start-intcm.S. it is currently unused and brokenSascha Hauer2008-06-061-370/+0
|
* 010-OMAP-addbaseNishanth Menon2008-06-052-0/+55
| | | | | | | | | | [Patch 10/17] U-Boot-V2:ARM:OMAP3: Add support for OMAP and Cortex A8 This patch adds support for OMAP3 platforms. Mainly to setup the infrastructure. ARMV7 requires a different I/D cache cleanup code which is introduced in this patch Signed-off-by: Nishanth Menon<x0nishan@ti.com>
* 001-arch-configNishanth Menon2008-06-051-1/+1
| | | | | | | | | | [Patch 01/17][Try 3] U-Boot-V2: ARM: Add ARCH lowlevel Init This Patch adds CONFIG_ARCH_HAS_LOWLEVEL_INIT as discussed in thread http://www.nabble.com/-Patch--U-Boot-V2%3A-Introduce-CONFIG_ARCH_HAS_INIT_LOWLEVEL-to17134638.html#a17188894 Signed-off-by: Nishanth Menon<x0nishan@ti.com>
* [memory layout]: streamline memory layoutSascha Hauer2008-06-042-36/+21
| | | | | | | Memory layout can now be specified via kconfig options. Two possibilities exist: default layout means the layout is stack / malloc heap / U-Boot. The user can also specify fixed addresses for each TEXT_BASE / stack / malloc heap.
* Change CONFIG_SKIP_LOWLEVEL_INIT to CONFIG_MACH_DO_LOWLEVEL_INITMenon, Nishanth2008-05-121-1/+1
| | | | | | | | as we rather use positive logic. Make it dependent on boards that have it rather than on ARM Signed-off-by: Nishanth Menon <x0nishan@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* start-arm.S is not thought to be ARM920 specific. reflect this in the comment.Sascha Hauer2008-05-071-1/+1
|
* Replace start-arm920t.S with start-arm.SNishanth Menon2008-05-072-6/+4
| | | | | | | | | | Replace start-arm920t.S with start-arm.S. This will allow for a common logic to handle Signed-off-by: Nishanth Menon <x0nishan@ti.com> --
* remove warningsRobert Schwebel2007-11-271-1/+2
| | | | | | | | | This patch fixes the following warnings: arch/arm/cpu/cpu.c:176:4: warning: no newline at end of file commands/bootm.c:872:4: warning: no newline at end of file Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* saving added docuJuergen Beisert2007-11-053-29/+183
|
* adding i.MX31 CPU supportJuergen Beisert2007-10-172-14/+19
|
* arm: use text_entry for reset vector instead of hardcoded filenamesascha2007-10-172-2/+3
| | | | (once again)
* no need to have CONFIG_SKIP_RELOCATE_UBOOTsascha2007-10-161-2/+0
|
* remove s3c24x0 specific stuff from arm start file, addsascha2007-10-161-75/+20
| | | | arch_init_lowlevel for this stuff instead.
* consolidate arch/arm/cpu/start-arm920t.S and arch/arm/cpu/start-arm926ejs.SSascha Hauer2007-09-053-407/+14
|
* arm: use linker section for reset vectorSascha Hauer2007-07-252-1/+3
| | | | | | | | | Put the reset vector at the beginning of the binary by creating its own section in the linker script rather than specifying the file. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>