driver. This console is used through a JTAG only on ARM. If you don't have
         a JTAG then you probably don't want this option.
  
 -config HVC_BFIN_JTAG
 -      bool "Blackfin JTAG console"
 -      depends on BLACKFIN
 -      select HVC_DRIVER
 -      help
 -       This console uses the Blackfin JTAG to create a console under the
 -       the HVC driver.  If you don't have JTAG, then you probably don't
 -       want this option.
 -
+ config HVC_RISCV_SBI
+       bool "RISC-V SBI console support"
+       depends on RISCV
+       select HVC_DRIVER
+       help
+         This enables support for console output via RISC-V SBI calls, which
+         is normally used only during boot to output printk.
+ 
+         If you don't know what do to here, say Y.
+ 
  config HVCS
        tristate "IBM Hypervisor Virtual Console Server support"
        depends on PPC_PSERIES && HVC_CONSOLE
 
  obj-$(CONFIG_HVC_XEN)         += hvc_xen.o
  obj-$(CONFIG_HVC_IUCV)                += hvc_iucv.o
  obj-$(CONFIG_HVC_UDBG)                += hvc_udbg.o
 -obj-$(CONFIG_HVC_BFIN_JTAG)   += hvc_bfin_jtag.o
+ obj-$(CONFIG_HVC_RISCV_SBI)   += hvc_riscv_sbi.o
  obj-$(CONFIG_HVCS)            += hvcs.o