discover/platform-powerpc: Don't fail early if nvram fails
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 27 Apr 2017 05:28:49 +0000 (15:28 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 27 Apr 2017 05:28:49 +0000 (15:28 +1000)
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/platform-powerpc.c

index b5ad682eae3b9e7136de412602648a8ee72b8510..a0ddd1e106abb3f7429ec90c4ff86920e873845f 100644 (file)
@@ -1254,7 +1254,7 @@ static int load_config(struct platform *p, struct config *config)
 
        rc = parse_nvram(platform);
        if (rc)
 
        rc = parse_nvram(platform);
        if (rc)
-               return rc;
+               pb_log("%s: Failed to parse nvram\n", __func__);
 
        populate_config(platform, config);
 
 
        populate_config(platform, config);