/* This might be called early when some more specific ways to detect revision are not yet available.  */
void set_board_type(void)
/* This might be called early when some more specific ways to detect revision are not yet available.  */
void set_board_type(void)
{
	const struct udevice_id *of_match = board_ids;
	int ret;
	gd->board_type = EXYNOS5_BOARD_GENERIC;
	while (of_match->compatible) {
		ret = fdt_node_check_compatible(gd->fdt_blob, 0,
						of_match->compatible);
		if (ret)
			of_match++;
		gd->board_type = of_match->data;
		break;
	}
}