add bacon support

Change-Id: I92b2b26196be4c25dc95249d4df518d4da6955ae