|
@@ -820,6 +820,7 @@ int board_fit_config_name_match(const char *name)
|
|
#endif
|
|
#endif
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PINE64_DT_SELECTION
|
|
/* Differentiate the two Pine64 board DTs by their DRAM size. */
|
|
/* Differentiate the two Pine64 board DTs by their DRAM size. */
|
|
if (strstr(name, "-pine64") && strstr(cmp_str, "-pine64")) {
|
|
if (strstr(name, "-pine64") && strstr(cmp_str, "-pine64")) {
|
|
if ((gd->ram_size > 512 * 1024 * 1024))
|
|
if ((gd->ram_size > 512 * 1024 * 1024))
|
|
@@ -829,5 +830,7 @@ int board_fit_config_name_match(const char *name)
|
|
} else {
|
|
} else {
|
|
return strcmp(name, cmp_str);
|
|
return strcmp(name, cmp_str);
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
+ return strcmp(name, cmp_str);
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|