powerpc/ps3: Workaround for flash memory I/O error
commit423b4ef5e712ef34d55d070d0cb84c9bb4a07ec2
authorGeoff Levand <geoffrey.levand@am.sony.com>
Wed, 9 Sep 2009 13:28:05 +0000 (9 13:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Sep 2009 15:27:11 +0000 (24 08:27 -0700)
tree0ffff52c98649730270f0e09346b7c877ea4c461
parentd4f93b323665e2fcf97de46f9740452ebaf43e4c
powerpc/ps3: Workaround for flash memory I/O error

commit bc00351edd5c1b84d48c3fdca740fedfce4ae6ce upstream.

A workaround for flash memory I/O errors when the PS3 internal
hard disk has not been formatted for OtherOS use.

This error condition mainly effects 'Live CD' users who have not
formatted the PS3's internal hard disk for OtherOS.

Fixes errors similar to these when using the ps3-flash-util
or ps3-boot-game-os programs:

  ps3flash read failed 0x2050000
  os_area_header_read: read error: os_area_header: Input/output error
  main:627: os_area_read_hp error.
  ERROR: can't change boot flag

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ps3/ps3stor_lib.c