public static GeneratorType getGeneratorTypeByName(String type)
	{
		if(type.equalsIgnoreCase("dts"))
		{
			return GeneratorType.DTS;
		} else if(type.equalsIgnoreCase("dtb"))
		{
			return GeneratorType.DTB;
		} else if(type.equalsIgnoreCase("dtb-hex8"))
		{
			return GeneratorType.DTB_IHEX8;
		} else if(type.equalsIgnoreCase("dtb-hex32"))
		{
			return GeneratorType.DTB_IHEX32;
		} else if(type.equalsIgnoreCase("dtb-char-arr"))
		{
			return GeneratorType.DTB_CHAR_ARR;
		} else if(type.equalsIgnoreCase("graph"))
		{
			return GeneratorType.GRAPH;
		} else if(type.equalsIgnoreCase("u-boot") || type.equalsIgnoreCase("uboot")) {
			return GeneratorType.U_BOOT;
		} else if(type.equalsIgnoreCase("kernel"))
		{
			return GeneratorType.KERNEL_HEADERS;
		}
		return null;
	}