Add support for hercules

Change-Id: Ic69bd1fc2e098044e5d787d4fca1428dbc035e93