]> code.ossystems Code Review - bsp/u-boot.git/commit
mxs: mxsboot: Move sdcard BCB header to 4 sectors offset
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Apr 2013 14:29:32 +0000 (11:29 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Apr 2013 18:54:29 +0000 (15:54 -0300)
commit5c96324b9501ee402027ad64aeb82886232741f6
tree7fa8dfea311bf45f78a5cc7437917819f0fb1271
parent8f3b862dc82782cdcf5b4e82111b0bd1513292c8
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>
tools/mxsboot.c