Searched hist:d4c671cc2742927d3aef830b3b56e1ca2377c887 (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/common/ |
| H A D | board_f.c | d4c671cc2742927d3aef830b3b56e1ca2377c887 Thu Mar 05 19:25:16 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/include/ |
| H A D | common.h | d4c671cc2742927d3aef830b3b56e1ca2377c887 Thu Mar 05 19:25:16 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|