summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/image-vars.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/image-vars.h')
-rw-r--r--arch/riscv/kernel/image-vars.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/kernel/image-vars.h b/arch/riscv/kernel/image-vars.h
index ea1a10355c..3df30dd1c4 100644
--- a/arch/riscv/kernel/image-vars.h
+++ b/arch/riscv/kernel/image-vars.h
@@ -28,7 +28,9 @@ __efistub__start_kernel = _start_kernel;
__efistub__end = _end;
__efistub__edata = _edata;
__efistub___init_text_end = __init_text_end;
+#if defined(CONFIG_EFI_EARLYCON) || defined(CONFIG_SYSFB)
__efistub_screen_info = screen_info;
+#endif
#endif