summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/imx-nand.h
Commit message (Collapse)AuthorAgeFilesLines
* mtd: imx-nand: Move v3 register definitions to include fileSascha Hauer2016-09-221-0/+49
| | | | | | | Move v3 register definitions to include file so that they can be reused for the early nand boot code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: change signature of barebox_arm_entryLucas Stach2014-05-051-5/+5
| | | | | | | | | | | 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: external NAND boot: pass boarddataSascha Hauer2014-01-291-5/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: Add bbu handler for external NAND bootSascha Hauer2013-03-121-0/+6
| | | | | | | | | | The external NAND boot code currently does not handle bad blocks correctly on 2k NAND flashes. This patch adds a barebox_update handler for external NAND boot which embeds a Bad block table in the flashed image. The boot code will skip bad blocks found in this bad block table then. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: prepare external nand boot for SoC specific entrySascha Hauer2013-02-041-1/+0
| | | | | | | | i.MX will get SoC specific entry points for barebox. To find the correct one we have to call these from the SoC specific imx*_barebox_boot_nand_external functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add a common NAND entry for external boot modeSascha Hauer2013-01-201-0/+5
| | | | | | | | | | | | | | | The pattern for i.MX boards starting in external NAND boot mode is always the same: - Check if we are running in NFC address space, if not call board_init_lowlevel_return() - copy binary to link address - execute relocated binary - call imx_nand_load_image() Add a common function for this to make the board code easier. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd nand i.MX: Add i.MX53 supportSascha Hauer2011-10-131-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: cleanup boot modesSascha Hauer2011-03-031-1/+55
| | | | | | | | | | | | | | | | | The i.MX Processors support two different boot modes, the internal boot mode and the external boot mode. Traditionally the external NAND boot mode is handled in drivers/mtd/nand and the internal boot mode is handled in arch/arm/mach-imx. This patch consolidates the handling of both boot modes in arch/arm/mach-imx so that the user does not have to look in the mtd kconfig section for booting from NAND. Also, selecting between internal and external boot mode now is a clear choice. The external NAND boot mode has been independent of the mtd nand driver, but as the code was contained in the NAND driver it was not possible to support booting from NAND without a mtd nand driver. This is changed with this patch. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx-nand: sparse fixesSascha Hauer2010-10-211-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX Nand: Set correct datawidth/pagesize in CCM moduleSascha Hauer2009-12-031-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-sascha' of git://uboot.jcrosoft.org/u-boot-v2 into from-jeanSascha Hauer2009-10-281-4/+4
| | | | | | | | | Conflicts: board/a9m2440/a9m2440.c board/pcm043/pcm043.c drivers/nand/nand_imx.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-221-0/+14
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>