/* User can (and should) define the platform from U-Boot  */
static int __init m2s_platform_parse(char *s)
/* User can (and should) define the platform from U-Boot  */
static int __init m2s_platform_parse(char *s)
{
	if (!strcmp(s, "g4m-vb"))
		m2s_platform = PLATFORM_G4M_VB;
	else if (!strcmp(s, "m2s-som"))
		m2s_platform = PLATFORM_M2S_SOM;
	else if (!strcmp(s, "sf2-dev-kit"))
		m2s_platform = PLATFORM_SF2_DEV_KIT;
	else if (!strcmp(s, "m2s-fg484-som"))
		m2s_platform = PLATFORM_M2S_FG484_SOM;
	return 1;
}