diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-01-18 11:32:53 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-02-07 05:23:36 (GMT) |
commit | 8f60ea00394ba88b575fdfa660e99521e1ad68dd (patch) | |
tree | c4eb860eec5f46ebe665f60fd3c84a5c60105865 | |
parent | 020a5d4f633e760995b6104cac1f68132469e4b0 (diff) | |
download | u-boot-8f60ea00394ba88b575fdfa660e99521e1ad68dd.tar.xz |
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 <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/x86/lib/spl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index af1c60f..ed2d40b 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) { /* |