On 23/02/2012 09:50, Dirk Behme wrote: > The flash header supports different flash offsets for different > boot devices. E.g. parallel NOR or OneNAND use a different offset > than FLASH_OFFSET_STANDARD (== 0x400). > > The flash offset is correctly read from the configuration in > parse_cfg_cmd(). But is then overwritten wrongly in set_imx_hdr_v1/2(). > > Fix this by removing this overwriting. Use the flash offset > correctly read from the configuration, instead. > > If there is no flash_offset read from the configuration file, i.e. > the BOOT_FROM tag is missing, exit with an error message. > > Signed-off-by: Dirk Behme <[email protected]> > CC: Jason Liu <[email protected]> > CC: Stefano Babic <[email protected]> > ---
Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: [email protected] ===================================================================== _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

