commit | 2ff50f5fa4009adf5e23a69a4269e6bb054edd79 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Sep 05 19:49:46 2017 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sat Sep 16 14:57:44 2017 +0800 |
tree | 9272443ed20aae4ffbdbfee71edfc24926cf18c4 | |
parent | 5ee94b4f4032502c26cd3c9ede6a910d7e2c9b46 [diff] |
dm: x86: Allow TSC timer to be used before DM is ready With bootstage we need access to the timer before driver model is set up. To handle this, put the required state in global_data and provide a new function to set up the device, separate from the driver's probe() method. This will be used by the 'early' timer also. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>