commit | 7af8d050b8a10dcfa95f685566378f5cd16cff60 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Mar 05 12:25:16 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Apr 16 19:27:41 2015 -0600 |
tree | 1001348f1a6472c801e4f223db58217ef0c8f3c8 | |
parent | 240d06d6c557d01c841c560206792117dc8d1ce4 [diff] |
dm: Add a new CPU init function which can use driver model Since driver model is set up after arch_cpu_init(), that function cannot use drivers. Add a new arch_cpu_init_dm() function which is called immediately after driver model is ready, and can reference devices. This can be used to probe essential devices for the CPU. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>