diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-05 12:25:16 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-16 19:27:41 -0600 |
commit | d4c671cc2742927d3aef830b3b56e1ca2377c887 (patch) | |
tree | 1001348f1a6472c801e4f223db58217ef0c8f3c8 /test | |
parent | 31f57c28736d9a070fe56c55d57e9da406ee86ba (diff) | |
download | u-boot-imx-d4c671cc2742927d3aef830b3b56e1ca2377c887.zip u-boot-imx-d4c671cc2742927d3aef830b3b56e1ca2377c887.tar.gz u-boot-imx-d4c671cc2742927d3aef830b3b56e1ca2377c887.tar.bz2 |
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>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions