@Override
	public String getTextOutput(BoardInfo bi) {
		String res = null;
		for(BasicComponent comp : sys.getSystemComponents())
		{
			if((!minimal) || comp.getScd().getGroup().equalsIgnoreCase("cpu"))
			{
				//Only dump nios stuff if REALLY needed
				if(res==null)
				{
					res = copyRightNotice + 
						"#ifndef _ALTERA_CPU_H_\n" +
						"#define _ALTERA_CPU_H_\n\n" +
						"/*\n" +
						" * Warning:\n" +
						" * from kernel 2.6.38 onwards this is not really needed anymore\n" +
						" * Just choose \"Generic devicetree based NiosII system\" as your \n" +
						" * target board and you should be fine.\n" +
						" */\n\n";
				}
				res += "/*\n" +
						" * Dumping parameters for " + comp.getInstanceName() + " (type " + comp.getScd().getGroup() + ")\n" +
						" * This is not as clean as I hoped but FDT is just a tad late\n" +
						" */\n";
				for(Parameter ass : comp.getParams())
				{
					if(ass.getName().toUpperCase().startsWith("EMBEDDEDSW.CMACRO."))
					{
						res += "#define " + ass.getName().substring(18).toUpperCase() + "\t" + ass.getValue() + "\n";
					}
				}
			}
		}
		if(res!=null)
		{
			res += "\n#endif //_ALTERA_CPU_H_\n";
		}
		return res;
	}