summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-02-13 15:26:33 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-03-25 16:17:02 +1100
commit3f77df7f81526c932ef681eda56eeaa75d0617da (patch)
tree32cfad5e4eed46dcc80dec057fd3d3416348baa9 /drivers/macintosh
parenta02c0af2f0c4b3c85e828f60ac3459456cfad1e6 (diff)
downloadtalos-obmc-linux-3f77df7f81526c932ef681eda56eeaa75d0617da.tar.gz
talos-obmc-linux-3f77df7f81526c932ef681eda56eeaa75d0617da.zip
powerpc/powernv: Check image loaded or not before calling flash
Present code checks for update_flash_data in opal_flash_term_callback(). update_flash_data has been statically initialized to zero, and that is the value of FLASH_IMG_READY. Also code update initialization happens during subsys init. So if reboot is issued before the subsys init stage then we endup displaying "Flashing new firmware" message.. which may confuse end user. This patch fixes above described issue by initializes update_flash status to invalid state. Reported-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud