summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* at91rm9200ek: fix mem sizeJean-Christophe PLAGNIOL-VILLARD2013-01-281-1/+1
| | | | | | | | we have only 32MiB of sdram by luck it was working Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91rm9200: fix default TEXT_BASE to 15MiBJean-Christophe PLAGNIOL-VILLARD2013-01-281-0/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9x5ek: fix wp_pin and detect_pin pin invalid valueJean-Christophe PLAGNIOL-VILLARD2013-01-271-2/+2
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9n12: fix wp_pin invalid valueJean-Christophe PLAGNIOL-VILLARD2013-01-271-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9261: fix max bare_init it's 156KiBJean-Christophe PLAGNIOL-VILLARD2013-01-261-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM AT91 pm9263: Fix phy addressSascha Hauer2013-01-261-1/+1
| | | | | | The ethernet phy address is wrong so no phy is found. Autodetect it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Fix reassigning symbols in defconfigsSascha Hauer2013-01-253-3/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM bcm2835: Fix noreturn function does returnSascha Hauer2013-01-251-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* atmel_mci: drop board host capsJean-Christophe PLAGNIOL-VILLARD2013-01-253-3/+0
| | | | | | | as it's handle by detecting the IP version and bus with Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM v7: Fix register corruption in v7_mmu_cache_offSascha Hauer2013-01-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v7_mmu_cache_flush stores registers on the stack and restores them afterwards. Additionally v7_mmu_cache_flush is called from v7_mmu_cache_off *after* disabling the MMU. With this the following can happen: - v7_mmu_cache_off disables the MMU. From now on no new values go to the data cache. - v7_mmu_cache_off calls v7_mmu_cache_flush which in turn puts registers on the stack. Due to the MMU being disabled they do not go into the data cache. - In v7_mmu_cache_flush the memory the stack is pointing to is overwritten with the values currently being in the cache. - v7_mmu_cache_flush restores the registers from the stack with values from the cache and not the memory where the values have previously been written to. Fix this by storing the registers on the stack *before* we disable the MMU and restore them after we have called v7_mmu_cache_flush. This way v7_mmu_cache_flush still restores corrupt register values for the case when the MMU has been disabled, but we will restore correct values afterwards. This has been first observed when switching to gcc-4.7.2 when compiling in Thumb2 mode, but could explain earlier problems also. The result here was that the register holding the kernel address in start_linux() was corrupted so that the kernel could not be started. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM Ka-Ro TX25: fix compilation with external NAND boot enabledSascha Hauer2013-01-181-2/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM Ka-Ro TX25: fix running in SDRAM testSascha Hauer2013-01-181-1/+1
| | | | | | | The end of SDRAM is at 0x9fffffff, not at 0x8fffffff. This fixes starting barebox when it is located in the second SDRAM bank. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX25: Add missing device registration for the iomuxSascha Hauer2013-01-181-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'delivery/at91_fixes' of git://git.jcrosoft.org/bareboxSascha Hauer2013-01-152-3/+4
|\
| * at91sam9g45: fix i2c typosJean-Christophe PLAGNIOL-VILLARD2013-01-151-3/+3
| | | | | | | | | | | | | | | | | | | | arch/arm/mach-at91/at91sam9g45_devices.c: In function 'at91_add_device_i2c': arch/arm/mach-at91/at91sam9g45_devices.c:158:42: error: 'pdata_i2c' undeclared (first use in this function) arch/arm/mach-at91/at91sam9g45_devices.c:158:42: note: each undeclared identifier is reported only once for each function it appears in arch/arm/mach-at91/at91sam9g45_devices.c:163:8: error: expected ':' or '...' before ';' token arch/arm/mach-at91/at91sam9g45_devices.c:166:8: error: expected ':' or '...' before ';' token Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91: sam9x5ek: use -EINVAL for invalid gpio on 1-wireJean-Christophe PLAGNIOL-VILLARD2013-01-151-0/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | ARM panda: do not set gpio direction of heartbeat LEDSascha Hauer2013-01-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | We now have gpio_request. When we call gpio_direction_output before registering a led_gpio the gpio will be implicitely requested by the gpio core. gpio_request in the led core will then fail resulting in an unregistered LED. Fix this by removing the call to gpio_direction_output. The LED core will do this anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm-mmu: remove semicolon in arm mmu.cAlexander Aring2013-01-141-1/+1
| | | | | | | | | | | | | | Remove semicolon in PAGE_ALIGN macro. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM am33xx: the hsmmc is a omap4 type mmc controllerSascha Hauer2013-01-101-1/+1
|/ | | | | | | The am33xx hsmmc controller is actually a omap4 type controller which means that it has a 0x100 offset in the registers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/omap'Sascha Hauer2013-01-0961-515/+2798
|\
| * ARM omap / mci: Fix register offsetsSascha Hauer2013-01-085-19/+18
| | | | | | | | | | | | | | | | Only the OMAP4 has a register offset of 0x100 in the register space. Fix this by using the device id mechanism. This became broken when the device register convenience functions were introduced. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pcm051: Add inital supportTeresa Gámez2012-12-218-0/+185
| | | | | | | | | | | | | | Added initial support for Phytec phyCORE-AM335x. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP: Apply EHCI device register functionsTeresa Gámez2012-12-212-4/+2
| | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP: Add EHCI to device register functionsTeresa Gámez2012-12-212-0/+12
| | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP: Apply RAM device register functions to boardsTeresa Gámez2012-12-219-15/+14
| | | | | | | | | | | | | | Apply RAM and SRAM register functions to all OMAP boards. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP: Add SRAM and DRAM to device register functionsTeresa Gámez2012-12-215-0/+29
| | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM AM33XX: Add mmc0 pin mux functionTeresa Gámez2012-12-212-0/+6
| | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: beaglebone: add first-stage support for AM335x and boardJan Luebbe2012-12-2022-2/+1770
| | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM AM33XX: Add MMC BasesTeresa Gámez2012-12-201-0/+2
| | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP4: Add EHCI base defineTeresa Gámez2012-12-201-0/+3
| | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP4: Add SRAM base defineTeresa Gámez2012-12-201-0/+2
| | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: omap: am33xx: add support for low level debugJan Luebbe2012-12-201-0/+5
| | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM OMAP AM33XX: create new ARCH for AM33xxTeresa Gámez2012-12-206-0/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Created ARCH for AM33xx boards as second stage bootloader. This includes: - Added dmtimer0 - Created basic header files - Added MMC support for ARCH_AM33XX - Added reset function Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Some header file cleanup by: Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap3: Add change OMAP_ prefix to OMAP3_ for registersSascha Hauer2012-12-2013-295/+295
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap hsmmc: Fix register offsetSascha Hauer2012-12-192-8/+8
| | | | | | | | | | | | | | | | | | The hsmmc module has a 0x100 offset in its register space. The real register space size for the module is 4K, so when we register the device with the size 4k, we have to account for the offset in the driver, not in the resource allocation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap4: Use device register functions in boardsSascha Hauer2012-12-194-51/+17
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap3: Use device register functions in boardsSascha Hauer2012-12-194-49/+16
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap: Add device register convenience functionsSascha Hauer2012-12-195-2/+165
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap: include individual SoC filesSascha Hauer2012-12-1917-54/+19
| | | | | | | | | | | | | | - 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 omap: Use SoC specific defines for gpmc and timer baseSascha Hauer2012-12-195-9/+22
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap3: make PRM defines SoC specificSascha Hauer2012-12-192-3/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap4: make PRM defines SoC specificSascha Hauer2012-12-192-5/+5
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap: Make timer base runtime configurableSascha Hauer2012-12-195-6/+14
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap: Make gpmc base runtime configurableSascha Hauer2012-12-193-4/+16
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap4: Add missing double include protectionSascha Hauer2012-12-191-1/+5
| | | | | | | | | | | | missing in omap4-clock.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap4: Add missing assembly protection in header fileSascha Hauer2012-12-191-0/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap4: remove unused structSascha Hauer2012-12-191-9/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM omap: remove unused functionSascha Hauer2012-12-192-20/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mxs'Sascha Hauer2013-01-097-4/+153
|\ \
| * | ARM: cfa10036: Use the board variant to load a different device treeMaxime Ripard2012-12-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The board variant found on the AT24 EEPROM holds the variant ID that we can use to identify which expansion board we are running on and thus which device tree to load and pass to the kernel. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>