projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
020a5d4
)
x86: spl: Add weak arch_cpu_init_dm()
author
Bin Meng
<bmeng.cn@gmail.com>
Wed, 18 Jan 2017 11:32:53 +0000
(
03:32
-0800)
committer
Bin Meng
<bmeng.cn@gmail.com>
Tue, 7 Feb 2017 05:23:36 +0000
(13:23 +0800)
arch_cpu_init_dm() might not be implemented by every platform.
Implement a weak version for SPL.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/spl.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/spl.c
b/arch/x86/lib/spl.c
index af1c60f58268f5cc10def500048582f950c74d1d..ed2d40b5523b765bfe1548307c2f9c23471d090e 100644
(file)
--- a/
arch/x86/lib/spl.c
+++ b/
arch/x86/lib/spl.c
@@
-15,6
+15,11
@@
DECLARE_GLOBAL_DATA_PTR;
+__weak int arch_cpu_init_dm(void)
+{
+ return 0;
+}
+
static int x86_spl_init(void)
{
/*