[U-Boot] [PATCH v2 2/9] dm: cpu: Test against cpu_ops-get_info in cpu_get_info()

2015-06-12 Thread Bin Meng
In cpu_get_info() it wrongly tests against cpu_ops-get_desc to see if it is NULL. It should test against cpu_ops-get_info. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: None drivers/cpu/cpu-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH v2 2/9] dm: cpu: Test against cpu_ops-get_info in cpu_get_info()

2015-06-12 Thread Simon Glass
Hi Bin, On 12 June 2015 at 00:52, Bin Meng bmeng...@gmail.com wrote: In cpu_get_info() it wrongly tests against cpu_ops-get_desc to see if it is NULL. It should test against cpu_ops-get_info. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: None drivers/cpu/cpu-uclass.c | 2

Re: [U-Boot] [PATCH v2 2/9] dm: cpu: Test against cpu_ops-get_info in cpu_get_info()

2015-06-12 Thread Simon Glass
On 12 June 2015 at 13:10, Simon Glass s...@chromium.org wrote: Hi Bin, On 12 June 2015 at 00:52, Bin Meng bmeng...@gmail.com wrote: In cpu_get_info() it wrongly tests against cpu_ops-get_desc to see if it is NULL. It should test against cpu_ops-get_info. Signed-off-by: Bin Meng