summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/eukrea_cpuimx25/lowlevel.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: i.MX: boards: Setup stack before calling imx*_barebox_entrySascha Hauer2015-03-091-5/+4
| | | | | | This allows imx*_barebox_entry to use the stack. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: change signature of barebox_arm_entryLucas Stach2014-05-051-1/+1
| | | | | | | | | | | Mostly to make it clear that boarddata needs to be something we can dereference. As this is a pretty invasive change, use the opportunity to make the signature 64bit safe. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: cleanup bootmode selectionSascha Hauer2014-01-311-5/+5
| | | | | | | | | | | | Which bootmode is selected has no longer to be chosen by Kconfig. The boards can decide themselves which bootmode they want to support. This makes it unnecesary to ask the user which bootmode shall be supported, so the "Select boot mode" becomes invisible and both support will be compiled in as needed by the boards. NAND_IMX_BOOT goes away and the already existing ARCH_IMX_EXTERNAL_BOOT_NAND can now be used for the boards to depend on external nand boot. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: external NAND boot: pass boarddataSascha Hauer2014-01-291-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include asm/sections.h instead of asm-generic/sections.hSascha Hauer2013-03-101-1/+1
| | | | | | To let the architectures override asm-generic/sections.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: rename reset and common_reset to barebox_arm_reset_vector and ↵Jean-Christophe PLAGNIOL-VILLARD2013-02-081-2/+2
| | | | | | | | | arm_cpu_lowlevel_init reset is confusing with the cpu reset and impossible to grep Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX boards: switch to barebox_arm_entrySascha Hauer2013-02-041-3/+3
| | | | | | | Most i.MX boards can use the imx*_barebox_entry functions. The remaining (i.MX21, i.MX6) use hardcoded base addresses. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX boards: use helper function for external NAND bootSascha Hauer2013-01-201-32/+3
| | | | | | | Use helper function for external NAND boot to get some positive diffstat. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2012-11-161-14/+14
|\ | | | | | | | | | | | | Conflicts: arch/arm/boards/guf-neso/lowlevel.c arch/arm/boards/pcm038/lowlevel.c commands/Makefile
| * ARM i.MX: get rid of imx-regs.hSascha Hauer2012-10-171-1/+1
| | | | | | | | | | | | | | | | | | - remove now unused __REG definitions - include individual SoC register files instead of imx-regs.h - move IMX_GPIO_NR to generic.h - finally remove imx-regs.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX25: Cleanup remaining unprefixed registersSascha Hauer2012-10-171-6/+6
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX: Use SoC specific base to access sdram controller registersSascha Hauer2012-10-171-7/+7
| | | | | | | | | | | | | | | | This redefines the sdram controller registers as offsets to the base rather than as absolute addresses. All users are fixed to use the SoC specific base address. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: introduce arm_setup_stack function and use itSascha Hauer2012-10-131-2/+1
|/ | | | | | | We have enough places which setup0 a stack to justify a static inline function for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX25: give register base addresses a proper MX25_ prefixSascha Hauer2012-10-041-16/+16
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/arm-board-reset'Sascha Hauer2012-10-031-1/+4
|\ | | | | | | | | | | | | | | 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-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-4/+0
|/ | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM boards: Use _text rather than TEXT_BASESascha Hauer2012-07-231-2/+2
| | | | | | | | | | With compressed image support TEXT_BASE will become the base address of the uncompressed image. What the boards want instead is the base address of the decompressor code or, if not compressed, the base address of the uncompressed image. Use _text which is the correct one for both cases. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx_nand_load_image: change all users to use barebox_image_sizeMichael Grzeschik2012-03-131-1/+2
| | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce io.hSascha Hauer2011-09-221-1/+1
| | | | | | | To allow for some generic io accessors introduce io.h and use this instead of asm/io.h throughout the tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* eukrea_cpuimx25: update board supportEric Bénard2010-10-141-13/+51
| | | | | | | | | | | | | - 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>
* move boards to arch/<architecure>/boardsJean-Christophe PLAGNIOL-VILLARD2010-07-231-0/+130
this will allow each arch to handle the boards more simply and depending on there need the env var BOARD will refer to the current board dirent for sandbox as we have only one board the board dirent is arch/sandbox/board Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>