projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6294e0
)
x86: Add debugging when cpu_common_init() fails
author
Simon Glass
<sjg@chromium.org>
Tue, 26 Jul 2016 00:58:59 +0000
(18:58 -0600)
committer
Bin Meng
<bmeng.cn@gmail.com>
Tue, 30 Aug 2016 01:26:05 +0000
(09:26 +0800)
Add a debug() at this point to help figure out what is wrong.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/cpu.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/ivybridge/cpu.c
b/arch/x86/cpu/ivybridge/cpu.c
index 0f9390517ff92b0a6afb3983fffcaf54af52e60f..85e361a58f07a72ba70842aa5f24622f0dce4255 100644
(file)
--- a/
arch/x86/cpu/ivybridge/cpu.c
+++ b/
arch/x86/cpu/ivybridge/cpu.c
@@
-146,8
+146,10
@@
int print_cpuinfo(void)
}
ret = cpu_common_init();
- if (ret)
+ if (ret) {
+ debug("%s: cpu_common_init() failed\n", __func__);
return ret;
+ }
/* Check PM1_STS[15] to see if we are waking from Sx */
pm1_sts = inw(DEFAULT_PMBASE + PM1_STS);