powerpc/ps3: Workaround for flash memory I/O error
commit80c8fadd31216328720d74ae19c89156ecc00f99
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:43:56 +0000 (24 08:43 -0700)
tree9626634b74dd3839d229b7ed11e18f1222057537
parent385361e320df298046095af992224be75b39fd3f
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