Add support for hercules

Change-Id: If9c66a591b883f741a73ca2fd40992c822c2b373