summaryrefslogtreecommitdiffstats
path: root/discover/hostboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/hostboot.c')
-rw-r--r--discover/hostboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/hostboot.c b/discover/hostboot.c
index 9a27b0f..bc9a3ba 100644
--- a/discover/hostboot.c
+++ b/discover/hostboot.c
@@ -12,11 +12,11 @@ void hostboot_load_versions(struct system_info *info)
{
int n = 0;
- n = flash_parse_version(info, &info->platform_current, true);
+ n = flash_parse_version(info, &info->platform_primary, true);
if (n < 0)
pb_log("Failed to read platform versions for current side\n");
else
- info->n_current = n;
+ info->n_primary = n;
n = flash_parse_version(info, &info->platform_other, false);
if (n < 0)
OpenPOWER on IntegriCloud