summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* ARM pbl: actually create cached mappings in the decompressorSascha Hauer2012-10-041-4/+3
| | | | | | | | | We called create_sections with 4096MB as size argument, but create_sections expected the argument in bytes, so create sections was completely optimized away due to the size >>= 20. This patch changes the size argument to be in megabytes and adjusts map_cachable to pass the argument in megabytes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM pbl: Provide a dummy error function for the decompressorSascha Hauer2012-10-041-1/+6
| | | | | | | | | We can't do anything useful in the error function, so we just hang. This has the advantage that at least when a JTAG debugger is connected we can see what happens. Otherwise the code just jumps to NULL in case of an error. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* calao: at91 qil/tny/usb auto detect the phy addrJean-Christophe PLAGNIOL-VILLARD2012-10-043-3/+3
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/fixes'Sascha Hauer2012-10-042-4/+7
|\
| * ARM i.MX51 babbage: Add delay after phy resetSascha Hauer2012-10-041-1/+3
| | | | | | | | | | | | | | Since we have phylib the phy won't be detected after poweron. It seems the phy needs some time after reset. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX clocksource: fix timer source selectionSascha Hauer2012-10-041-3/+4
| | | | | | | | | | | | | | | | | | - The i.MX1 timer does not have IPG clock as source, so rename the define accordingly - for the i.MX31 timer we want to use the per clock, not the ipg clock. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx-clk'Sascha Hauer2012-10-0483-3067/+3568
|\ \
| * | ARM i.MX: Remove old clock supportSascha Hauer2012-10-0415-2154/+10
| | | | | | | | | | | | | | | | | | | | | The old clock support is now unused. Remove it. The former i.MX clko command is superseeded by generic clock manipulation commands. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX: Switch clocksource to clk_getSascha Hauer2012-10-041-2/+15
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX35: Switch to common clkSascha Hauer2012-10-043-2/+189
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX21: Switch to common clkSascha Hauer2012-10-043-1/+121
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX6: Switch to common clkSascha Hauer2012-10-043-2/+309
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX31: Switch to common clkSascha Hauer2012-10-043-2/+136
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX1: Switch to common clk supportSascha Hauer2012-10-043-2/+111
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX5: Switch to common clk supportSascha Hauer2012-10-044-4/+304
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX25: Switch to common clk supportSascha Hauer2012-10-043-2/+157
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX27: implement clk supportSascha Hauer2012-10-044-2/+160
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX: initial clk supportSascha Hauer2012-10-047-0/+866
| | | | | | | | | | | | | | | | | | | | | This adds the basic i.MX common clk support and some pll and pfd drivers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX25: Add function to setup chipselectSascha Hauer2012-10-043-5/+13
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX35: Add function to setup chipselectSascha Hauer2012-10-046-17/+21
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX31: Add function to setup chipselectSascha Hauer2012-10-044-23/+22
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX21: Add function to setup chipselectSascha Hauer2012-10-044-34/+19
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX1: Add function to setup chipselectSascha Hauer2012-10-044-28/+16
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX: Add header file for WEIM cs setupSascha Hauer2012-10-047-10/+20
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX51: Use defines rather than hardcoded addressesSascha Hauer2012-10-041-5/+5
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX/MXS: Allow to include imx*-regs.h directlySascha Hauer2012-10-048-47/+0
| | | | | | | | | | | | | | | | | | In fact we can be happy about everyone including the files directly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX25: give register base addresses a proper MX25_ prefixSascha Hauer2012-10-0410-133/+217
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX27: give register base addresses a proper MX27_ prefixSascha Hauer2012-10-0413-146/+199
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX1: give register base addresses a proper MX1_ prefixSascha Hauer2012-10-043-63/+92
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX21: give register base addresses a proper MX21_ prefixSascha Hauer2012-10-045-81/+132
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX35: give register base addresses a proper MX35_ prefixSascha Hauer2012-10-0412-286/+369
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX31: give register base addresses a proper MX31_ prefixSascha Hauer2012-10-046-144/+193
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / switch all platform_bus device/driver registering to ↵Jean-Christophe PLAGNIOL-VILLARD2012-10-0414-16/+15
|/ | | | | | | | platform_driver/device_register now register_driver and register_device are for bus only usage. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Merge branch 'for-next/arm-board-reset'Sascha Hauer2012-10-0336-178/+257
|\ | | | | | | | | | | | | | | 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-2736-175/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: remove ARCH_HAS_LOWLEVEL_INITSascha Hauer2012-09-272-5/+0
| | | | | | | | | | | | | | | | This is unused now and not needed. We have a board_init_lowlevel. If a board needs some architecture setup it can always call it from its board_init_lowlevel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP3: rename arch_init_lowlevel to board_init_lowlevelSascha Hauer2012-09-272-7/+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-273-6/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/tftp'Sascha Hauer2012-10-0365-104/+131
|\ \
| * | defconfig: Switch all defconfig to new tftp commandSascha Hauer2012-09-2865-104/+131
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/arm-remove-arch-init-ll'Sascha Hauer2012-10-036-18/+2
|\ \ | | | | | | | | | | | | Conflicts: arch/arm/include/asm/barebox-arm.h
| * | ARM: remove ARCH_HAS_LOWLEVEL_INITSascha Hauer2012-09-252-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | This is unused now and not needed. We have a board_init_lowlevel. If a board needs some architecture setup it can always call it from its board_init_lowlevel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM OMAP3: rename arch_init_lowlevel to board_init_lowlevelSascha Hauer2012-09-252-7/+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-253-6/+0
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/spi'Sascha Hauer2012-10-032-0/+43
|\ \
| * | drivers/spi: add driver for the Multichannel SPI controller found in TI SoCsJan Luebbe2012-09-062-0/+43
| | | | | | | | | | | | | | | | | | | | | Also create devices for OMAP3. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/sandbox'Sascha Hauer2012-10-039-7/+196
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: arch/sandbox/mach-sandbox/include/mach/linux.h
| * | | sandbox: add sdl video supportJean-Christophe PLAGNIOL-VILLARD2012-09-257-5/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow speed up the dev on framebuffer. By default the resolution is VGA but this can be changed via cmdline. We use a pthread to Flip the screen every 100ms as we can not detect when barebox update it as barebox simpliy write in a buffer. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | sandbox: add missed case statementAlexander Aring2012-09-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missed case statement to ignore 'i' parameter in first getopt loop. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | sandbox: fix posix_typesAlexander Aring2012-09-111-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix setting of size_t ssize_t and ptrdiff_t for 32 bit and 64 bit systems. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>