[PATCH] i.MX5 internal NAND update fixes/cleanup

Sascha Hauer s.hauer at pengutronix.de
Wed Jul 23 23:48:09 PDT 2014


The internal NAND update handler for i.MX5 is broken since:

| commit 15ee30138f59eac95379a4b94c538c1fcc338ed5
| Author: Sascha Hauer <s.hauer at pengutronix.de>
| Date:   Fri Jul 26 10:52:25 2013 +0200
| 
|     ARM: i.MX: bbu-internal: optionally use DCD data from image
|     
|     We used to pass the DCD data from the boards. This patch allows
|     to optionally skip passing DCD data. In this case the DCD data
|     from the flash image is used if present.
|     
|     Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

This fixes it and also cleans up the code a bit.

Sascha

----------------------------------------------------------------
Sascha Hauer (4):
      ARM: i.MX5: internal NAND update: Use variable for pre_image_size
      ARM: i.MX5: internal NAND update: Fix firmware start page for internal nand boot
      ARM: i.MX5: internal NAND update: Use variables for some constants
      ARM: i.MX5: internal NAND update: simplify code

 arch/arm/mach-imx/imx-bbu-internal.c | 63 +++++++++++++++++-------------------
 1 file changed, 29 insertions(+), 34 deletions(-)



More information about the barebox mailing list