]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mxs: mxsboot: Move sdcard BCB header to 4 sectors offset
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 24 Apr 2013 11:23:27 +0000 (11:23 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 26 Apr 2013 07:16:48 +0000 (09:16 +0200)
commit8de16794a0a42196666dc965843969685f4f45ad
tree1cfa5b9136a548083954a5ec79765478b9f7aafe
parent1155d555d6c4c77bafb45af240b805196ee13155
mxs: mxsboot: Move sdcard BCB header to 4 sectors offset

The MX23 Boot ROM does blindly load from 2048 offset while the MX28
does parse the BCB header to known where to load the image from. We
move the BCB header to 4 sectors offset so same code can be used by
both SoCs avoiding code duplication.

This idea was given by Marek Vasut <marex@denx.de>

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Marek Vasut <marex@denx.de>
tools/mxsboot.c