summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/imx-flash-header.h
Commit message (Collapse)AuthorAgeFilesLines
* 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: Add barebox update handler for internal bootSascha Hauer2012-10-171-0/+2
| | | | | | | | | | | | | | | | | | | | This adds support for an update handler for internal boot. Currently handled are: - v1 MMC/SD - v2 MMC/SD - v2 NAND where v1 is found on i.MX25, i.MX35 and i.MX51. v2 is found on i.MX53. This code intentionally does not use the DCD data compiled into every i.MX internal boot image. This makes it possible to make a pure second stage barebox bootable on i.MX internal boot devices later. This has been tested on the i.MX51 babbage, i.MX53 loco and i.MX53 tx53 board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX tx53: Add rev xx30 board supportSascha Hauer2012-10-171-0/+33
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add support for internal serial boot modeSascha Hauer2012-07-311-0/+9
| | | | | | This mode is needed for bootstrapping a board via USB serial. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX flash header: Fix barebox image sizesSascha Hauer2012-03-231-0/+10
| | | | | | | | The image sizes have been hardcoded to 256K. This is inefficient for smaller images and nonfunctional for bigger images. Calculate the image size during compile time and use it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add support for the i.MX53Marc Kleine-Budde2011-07-291-0/+52
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Put the explicit flash header sections back in.Marc Reilly2011-01-051-0/+12
| | | | | | | | This (re)enables boards to have multiple boot headers so that the one image can be used for booting from multiple boot sources. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: Internal boot sources, handle all header offsetsMarc Reilly2010-10-011-9/+25
| | | | | | | | | Makes the internal boot source configurable. Also changes section names slightly so that .flash_header_0x1000 isn't matched to .flash_header_0x100* etc. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX flash header: make it work on i.MX35Sascha Hauer2009-12-031-0/+48
The flash header is used on different i.MXs other than the i.MX25, so rename it. Also, add a possibility to put a flash header on different offsets (0x100, 0x400 and 0x1000), needed for different boot mediums. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>