summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* ARM Samsung: Let Nand boot depend on ARCH_S3C24xxSascha Hauer2012-10-261-0/+1
| | | | | | It is only available on this SoC. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap: pbl fixesSascha Hauer2012-10-262-0/+3
| | | | | | | Omap3 pbl build may need omap3_clock.c. Also, do not use add_generic_device in pbl Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM Samsung: fix pbl build for tiny210 boardSascha Hauer2012-10-262-0/+2
| | | | | | The Tiny210 needs lowlevel.o and memory setup in the pbl. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: let THUMB2 select EABISascha Hauer2012-10-261-0/+1
| | | | | | THUMB2 mode needs EABI to build, so select it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pm9g45: fix config and defconfigJean-Christophe PLAGNIOL-VILLARD2012-10-232-13/+32
| | | | | | | | | | | | | | - add dhcp vendor_id - enable glob support (needed by nand) - enable pbl - enable MMU - enable bootm oftree support - enable loadb - enable nfs - use zImage by default Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pm9g45: fix nand partition in c codeJean-Christophe PLAGNIOL-VILLARD2012-10-231-2/+5
| | | | | | | enable bbt too Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu/compiler-warnings'Sascha Hauer2012-10-212-5/+5
|\
| * sandbox: only test for sdl libs when sdl is enabledSascha Hauer2012-10-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise we get the following warning when sdl is not installed on the compile host: Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl.pc' to the PKG_CONFIG_PATH environment variable No package 'sdl' found Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mips: remove unused variableSascha Hauer2012-10-171-3/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM OMAP: Enable gpio outputTeresa Gámez2012-10-211-1/+1
| | | | | | | | | | | | | | Enable output instead of disabling it. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | at91sam9x5ek: fix bootstrap size to 256KiBJean-Christophe PLAGNIOL-VILLARD2012-10-171-1/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | sam9x5ek: drop uart2 as it's not always presentJean-Christophe PLAGNIOL-VILLARD2012-10-171-1/+0
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | at91sam9x5: udpate default ARCH_TEXT to 0x26f00000Jean-Christophe PLAGNIOL-VILLARD2012-10-171-0/+1
|/ | | | | | On sam9x5 series the bootstrap load the bootloader at 0x26f00000. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ARM samsung S5P: Enable board supportSascha Hauer2012-10-151-8/+6
| | | | | | | | | This was once disabled because we had no board support. This has changed, so enable the S5P board support in the config so that the friendlyarm_tiny210_defconfig actually builds for the correct machine. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM a9m2440: Fix lowlevel initSascha Hauer2012-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | board_init_lowlevel is no longer called from generic code, so we can't just return from in. Instead we have to jump to board_init_lowlevel_return manually. For the a9m2440 board one case was missed to convert. This is broken since: | commit faf7b7af6e51a33b88453821d792c89a84f72b1d | Author: Jan Luebbe <jlu@pengutronix.de> | Date: Mon Sep 24 10:18:34 2012 +0200 | | ARM: give boards control of the reset entry point | | 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: Sascha Hauer <s.hauer@pengutronix.de>
* documentation: add sandbox malloc argumentAlexander Aring2012-10-131-0/+4
| | | | | | | Add malloc argument in doxygen comment. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: fix malloc argument stringAlexander Aring2012-10-131-1/+1
| | | | | | | Fix malloc argument string. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: move add_image for env in second getoptAlexander Aring2012-10-131-5/+7
| | | | | | | | Function add_image needs a allocated malloc space. This is only available in the second getopt loop. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX25: Enable all needed clocks during startupSascha Hauer2012-10-101-3/+13
| | | | | | | | | | | | | | This enables the following clocks on i.MX25: PER: esdhc1, esdhc2, i2c, nfc, owire, pwm, uart AHB: emi, esdhc1, esdhc2, fec, lcdc, usbotg IPG: cspi1, cspi2, cspi3, esdhc1, esdhc2, fec, gpt1, gpt2, gpt3, gpt4, iim, LCDC_EN, pwm1, pwm2, pwm3, pwm4, spba, tsc, uart1, uart2, uart3, uart4, uart5 These are hopefully all the clocks we need for barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootm: close open filesVicente2012-10-101-1/+3
| | | | | Signed-off-by: Vicente <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP: change region size for gpio banksTeresa Gámez2012-10-092-12/+12
| | | | | | | | - increased the region size for OMAP3, as it was not correct - decrease region size for OMAP4 to prevent overlapping. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP: Remove usage of gpio lib calls in lowlevel codeTeresa Gámez2012-10-091-2/+27
| | | | | | | As the gpio functions are not available at this point, set the gpio manually. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM OMAP: gpiolib fix chip.baseTeresa Gámez2012-10-091-1/+1
| | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX gpio: fix of gpio baseSascha Hauer2012-10-071-0/+1
| | | | | | | of_alias_get_id() returns the number of the gpio bank, so we have to multiply with 32 to get the gpio base. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu/misc-fixes'Sascha Hauer2012-10-071-1/+1
|\
| * nios2: Fix stray comment start in longlong.hSascha Hauer2012-10-041-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | regression: reset can not returnvicencb@gmail.com2012-10-074-4/+4
| | | | | | | | | | Signed-off-by: vj <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: Fix Kconfig link for Cirrus Logic EP9312 CPU.Alexander Shiyan2012-10-051-1/+1
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | 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>