add bacon support

Change-Id: Idaf0fe7248b7b9d586d033f0ec14bca7e55b6f96