]> git.ozlabs.org Git - petitboot/commitdiff
Use 'Primary' instead of 'Current' for flash sides
authorSam Mendoza-Jonas <sam@mendozajonas.com>
Thu, 25 Feb 2016 23:39:55 +0000 (10:39 +1100)
committerSam Mendoza-Jonas <sam@mendozajonas.com>
Fri, 26 Feb 2016 01:39:37 +0000 (12:39 +1100)
When queried libflash will return the 'first' flash side (ie. the one
with the lowest TOC address), however we label this the 'Current' side
which is incorrect if the machine has booted from the alternate side.

A future fix will inlcude additional platform logic to determine which
flash side is current; in the interim label the first flash side as
'Primary' instead of 'Current'.

Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>

No differences found