Re-orginized led and nvram related code, for generic target.
Contributors :==============Raphael Zulliger (author of slavelib project)Camille BOSSARDDavid DUMINY (sté A6R)Laurent ROMIEUXZakaria BELAMRIMany thanks to the main contributors for their great work.