summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* sandbox: use devfs functions only if definedRobert Schwebel2010-11-011-0/+2
| | | | | | | | arch/sandbox/board/built-in.o: In function `hf_probe': hostfile.c:(.text+0xac): undefined reference to `devfs_create' Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: mark code explicitelyRobert Schwebel2010-10-221-1/+5
| | | | | | | | Silence this warning: arch/arm/mach-omap/arch-omap.dox:51: Warning: explicit link request to 'define' could not be resolved Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: eliminate nonexisting referenceRobert Schwebel2010-10-221-1/+1
| | | | | | | | Silence this warning: arch/architecture.dox:89: Warning: unable to resolve reference to `dev_x86_mach' for \ref command Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: let doxygen find some assembler functionsRobert Schwebel2010-10-225-11/+0
| | | | | | | | | | | | | | Silences these warnings: arch/x86/boot/boot_hdisk.S:29: Warning: documented function `void real_start' was not declared or defined. arch/x86/boot/boot_main.S:28: Warning: documented function `void _start' was not declared or defined. arch/x86/boot/pmjump.S:20: Warning: documented function `void protected_mode_jump' was not declared or defined. arch/x86/lib/memory16.S:32: Warning: documented function `unsigned short bios_get_memsize' was not declared or defined. arch/x86/lib/traveler.S:31: Warning: documented function `void real_to_prot' was not declared or defined. arch/x86/lib/traveler.S:38: Warning: documented function `void prot_to_real' was not declared or defined. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* reset_cpu: unify declarationRobert Schwebel2010-10-229-10/+10
| | | | | | | | include/common.h declares this as "unsigned long addr", so we unify it. This also silences a doxygen warning. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add defconfig for Garz+Fricke cupid boardSascha Hauer2010-10-221-0/+56
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add Garz+Fricke Cupid board supportSascha Hauer2010-10-228-0/+907
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX35 regs: Add watchdog baseSascha Hauer2010-10-221-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX esdctl: Add register bits from redbootSascha Hauer2010-10-221-0/+88
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX51: Fix mmcclk rateSascha Hauer2010-10-221-3/+30
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM pca100: Use a flash bbtSascha Hauer2010-10-221-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add GPIO support and GPIO setup features to the S3C processorsJuergen Beisert2010-10-225-1/+628
| | | | | | | | | | | This patch adds genetic GPIO support to all S3C2440 processor based systems. Also it adds definitions to setup the pin multiplexer in a way the other architectures do. Note: Tested on a S3C2440 based system only. But should work on an S3C2410, too. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm interrupts.c: sparse fixesSascha Hauer2010-10-211-1/+9
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm043: fix compiler warningSascha Hauer2010-10-211-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove strange flush_cache functionsSascha Hauer2010-10-215-93/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX speed: add missing includeSascha Hauer2010-10-211-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm div0: sparse fixesSascha Hauer2010-10-211-2/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx-nand: sparse fixesSascha Hauer2010-10-211-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX remove wdog registers from header filesSascha Hauer2010-10-217-55/+19
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx_dump_clocks: sparse fixesSascha Hauer2010-10-212-2/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* speed-imx35: sparse fixesSascha Hauer2010-10-211-4/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* cache-l2x0: sparse fixesSascha Hauer2010-10-211-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arch/arm/cpu/cpu.c: sparse fixesSascha Hauer2010-10-211-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* armlinux: sparse fixesSascha Hauer2010-10-211-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx clocksource: sparse fixesSascha Hauer2010-10-211-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx gpio: sparse fixesSascha Hauer2010-10-211-7/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Adapt the defconfig for a full blown ChumbyOne supportJuergen Beisert2010-10-211-1/+5
| | | | | | | | | | | | | | commit 69f4b4f403b1dbe17a95be340688dc77d166bb4e Author: Juergen Beisert <jbe@pengutronix.de> Date: Mon Oct 11 16:42:59 2010 +0200 Adapt the defconfig for a full blown ChumbyOne support Make the ChumbyOne use of the MCI framework. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Spend the ChumbyOne a persistant environment memory on MCI cardJuergen Beisert2010-10-214-1/+169
| | | | | | | | The ChumbyOne boot from MCI card only. As ist more fun to run barebox with a persistant environment, provide one in the second partition on the MCI card. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Glue i.MX23 and MCI supportJuergen Beisert2010-10-211-0/+32
| | | | | | | | The MCI framework and the i.MX23 architecture are present now. Bring both together. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX25 & 35 usb config bits : create mach/usb.hEric Bénard2010-10-213-20/+16
| | | | | | | as suggested by Baruch Siach Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* eukrea_cpuimx35: update board supportEric Bénard2010-10-145-24/+135
| | | | | | | | | | | | | - support NAND external boot - update internal boot init sequence - unbreak flash_header using magic values ... - LCD enable - add I2C - add SDCard - add USB Host - add DFU on USB OTG Signed-off-by: Eric Bénard <eric@eukrea.com>
* iomux-mx35: fox IOMUX for SDHC1's pinsEric Bénard2010-10-141-6/+6
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* speed-imx35: add support for SDHC1Eric Bénard2010-10-141-0/+12
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* imx35-regs: add defines for USB and SDEric Bénard2010-10-141-0/+3
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* eukrea_cpuimx25: update board supportEric Bénard2010-10-144-20/+162
| | | | | | | | | | | | | - support NAND external boot - enable only used clocks - LCD fix in /env/bin/init - I2C support - SDCard support - USB Host 1 support - DFU support on OTG port - update defconfig Signed-off-by: Eric Bénard <eric@eukrea.com>
* MX25: fix IOMUX for ESDHC1 pinsEric Bénard2010-10-141-6/+6
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* mx25: add MMC clock supportEric Bénard2010-10-141-0/+7
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* imx/clocksource: enable GPT1 before using it on CPUIMX25Eric Bénard2010-10-131-0/+4
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* eukrea_cpuimx27: update board supportEric Bénard2010-10-134-7/+27
| | | | | | | | - fix for LCD support - environment update (last one before trying to use the generic env) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* image: remove confusing image_check_* functionsSascha Hauer2010-10-133-3/+3
| | | | | | | | | | | The function names do not make it clear what return value is expected and do not save a single line of code. Put the code inline and unbreak the wrong checks introduced with a3c1e5d888d0ee317ffc7635694684bb71213c9c. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Eric Bénard <eric@eukrea.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Switch the i.MX27's PLL in a safe mannerJuergen Beisert2010-10-125-78/+114
| | | | | | | | | | | | | | | | Changing PLL settings is somehow tricky on the i.MX27: Whenever the clock speed of the main PLL is changed, the clock stops for about 100 us until the PLL locks into the new frequency. While this clock stop, also the SDRAM controller cannot refresh the memory, because it uses the same clock source. This can lead into data loss and random system crashes. This patch divides the PLL setting in two steps. First step is to re-program the PLL and clock settings to values possible at a core supply of 1.25 V. Second step is to increase the core power supply to 1.45 V and switch the CPU clock to the specified 400 MHz. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nhk8815: use defaultenvJean-Christophe PLAGNIOL-VILLARD2010-10-128-153/+33
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv: introduce CONFIG_DEFAULT_ENVIRONMENT_GENERIC to enable itJean-Christophe PLAGNIOL-VILLARD2010-10-125-5/+10
| | | | | | | this will we usefull to enable functionnality if used Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'mx51' into nextSascha Hauer2010-10-1225-13/+2509
|\ | | | | | | | | | | | | Conflicts: arch/arm/Makefile Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX51: Add babbage board supportSascha Hauer2010-10-1111-0/+1093
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX: Add basic i.MX51 supportSascha Hauer2010-10-1110-4/+1403
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM mmu: Call __mmu_cache_flush instead of hardcoded v4/v5 only functionSascha Hauer2010-10-111-4/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mfd mc13892: Add spi supportSascha Hauer2010-10-111-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * move include files for mfd drivers to include/mfdSascha Hauer2010-10-113-4/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX27: Add support for SDHC pinsSascha Hauer2010-10-111-0/+6
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>