imx-bbu-nand-fcb: Split space for firmware in two equal regions
We used to write the second firmware right after the first
firmware. However, splitting the available space into two
equal regions has advantages: When we update barebox the next
time the generated FCB/DBBT blocks will be the same as with the
last update, so in case of power failure it is more likely that
we have valid data in one of the FCB/DBBT areas.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4e880df commit 6ab66787fc15a286b6142b09f9d7c2654dee78a9
@Sascha Hauer Sascha Hauer authored on 12 Jun 2015
Showing 1 changed file
View
common/imx-bbu-nand-fcb.c