powerpc/ps3: Workaround for flash memory I/O error
authorGeoff Levand <geoffrey.levand@am.sony.com>
Wed, 9 Sep 2009 13:28:05 +0000 (13:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Sep 2009 15:47:27 +0000 (08:47 -0700)
commit30a864e5edc5e3cd001cb1194eea87695ef7f29d
tree6019f97927d87314c1bdd4a7c3751e4c93b9449f
parenta59ccf4c9f2bb4eaead0da39812fa496431829df
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