[2/2] Speed up booting on multicore devices.

Add multithreading support.

Change-Id: I13630de9d75d13c0368d261b3564b787067b65b1
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0