/* Set status to disabled for unused ethernet node  */
void fdt_fixup_board_enet(void *fdt)
/* Set status to disabled for unused ethernet node  */
void fdt_fixup_board_enet(void *fdt)
{
	int i;
	char alias[32];
	for (i = FM1_DTSEC1; i <= FM1_10GEC2; i++) {
		switch (fm_info_get_enet_if(i)) {
		case PHY_INTERFACE_MODE_NONE:
			sprintf(alias, "ethernet%u", i);
			fdt_status_disabled_by_alias(fdt, alias);
			break;
		default:
			break;
		}
	}
}