summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/ps3.h
diff options
context:
space:
mode:
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>2007-06-16 07:18:48 +1000
committerPaul Mackerras <paulus@samba.org>2007-06-28 19:16:33 +1000
commit1322810c14c4b5126e731db2e1764b2e957a9b19 (patch)
treee161c6d7d368d17452510438c968b3ad49a7fe29 /include/asm-powerpc/ps3.h
parent848cfdc5c1cd2163ba0c9a6490d9adcb7a7c3518 (diff)
[POWERPC] PS3: Compare firmware version
Add a utility routine ps3_compare_firmware_version() to compare system firmware versions. Uses the existing ps3_get_firmware_version() routine. Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/ps3.h')
-rw-r--r--include/asm-powerpc/ps3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h
index 1e04651eedc4..ac85d729f14f 100644
--- a/include/asm-powerpc/ps3.h
+++ b/include/asm-powerpc/ps3.h
@@ -35,7 +35,8 @@ union ps3_firmware_version {
};
};
-int ps3_get_firmware_version(union ps3_firmware_version *v);
+void ps3_get_firmware_version(union ps3_firmware_version *v);
+int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev);
/* 'Other OS' area */