diff options
author | Masakazu Mokuno <mokuno@sm.sony.co.jp> | 2007-06-15 21:18:48 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-28 09:16:33 (GMT) |
commit | 1322810c14c4b5126e731db2e1764b2e957a9b19 (patch) | |
tree | e161c6d7d368d17452510438c968b3ad49a7fe29 /include/asm-powerpc | |
parent | 848cfdc5c1cd2163ba0c9a6490d9adcb7a7c3518 (diff) | |
download | linux-fsl-qoriq-1322810c14c4b5126e731db2e1764b2e957a9b19.tar.xz |
[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')
-rw-r--r-- | include/asm-powerpc/ps3.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h index 1e04651..ac85d72 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 */ |