Merge "Refactor boot_control into a separate library." am: eb35817830
am: 754e7fc190

Change-Id: I9e8d4489984de6cf0dcc96fcec8b81722966797d