Re: [U-Boot] [PATCH v2 04/22] dm: Add a new CPU init function which can use driver model

2015-03-20 Thread Simon Glass
On 9 March 2015 at 03:02, Bin Meng wrote: > On Fri, Mar 6, 2015 at 3:25 AM, Simon Glass wrote: >> 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 refe

Re: [U-Boot] [PATCH v2 04/22] dm: Add a new CPU init function which can use driver model

2015-03-09 Thread Bin Meng
On Fri, Mar 6, 2015 at 3:25 AM, Simon Glass wrote: > 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 ess

[U-Boot] [PATCH v2 04/22] dm: Add a new CPU init function which can use driver model

2015-03-05 Thread Simon Glass
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 ---