summaryrefslogtreecommitdiffstats
path: root/ui/common/ps3.h
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-07-09 10:40:44 -0700
committerGeoff Levand <geoffrey.levand@am.sony.com>2009-07-09 10:40:44 -0700
commitaea1d55d7e09f4544f96ccc54196c674d52420e8 (patch)
tree814727f6c11779e82e960222ce5fa908ae944556 /ui/common/ps3.h
parente74391b7d8ec47b41315e7c2ce6b4b0a9ad139fe (diff)
downloadtalos-petitboot-aea1d55d7e09f4544f96ccc54196c674d52420e8.tar.gz
talos-petitboot-aea1d55d7e09f4544f96ccc54196c674d52420e8.zip
Add PS3 reset default option
Add a --reset-defaults option to the PS3 CUI program. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'ui/common/ps3.h')
-rw-r--r--ui/common/ps3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/common/ps3.h b/ui/common/ps3.h
index c7a0c48..5ba8afe 100644
--- a/ui/common/ps3.h
+++ b/ui/common/ps3.h
@@ -52,6 +52,12 @@ struct ps3_flash_values {
uint8_t timeout;
};
+static const struct ps3_flash_values ps3_flash_defaults = {
+ .default_item = 0,
+ .video_mode = 1,
+ .timeout = ps3_timeout_forever,
+};
+
int ps3_flash_get_values(struct ps3_flash_values *values);
int ps3_flash_set_values(const struct ps3_flash_values *values);
OpenPOWER on IntegriCloud