From: Bin Meng Date: Wed, 18 Jan 2017 11:32:53 +0000 (-0800) Subject: x86: spl: Add weak arch_cpu_init_dm() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=8f60ea00394ba88b575fdfa660e99521e1ad68dd;p=u-boot.git x86: spl: Add weak arch_cpu_init_dm() arch_cpu_init_dm() might not be implemented by every platform. Implement a weak version for SPL. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index af1c60f582..ed2d40b552 100644 --- 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) { /*