riscv: Add the make function for SBI version
authormason.huo <mason.huo@starfivetech.com>
Wed, 22 Jun 2022 05:11:59 +0000 (13:11 +0800)
committermason.huo <mason.huo@starfivetech.com>
Tue, 5 Jul 2022 05:40:17 +0000 (13:40 +0800)
commit071fe3c10041657d4b201218824b0cd41b244cae
tree69a91dcc2db6e6b6029ef777cafc8e2288ad7bf5
parentaf44fb074760e87051ee27bec17fc25ab83e1cc9
riscv: Add the make function for SBI version

After cherry pick the riscv cpuidle driver,
there is a compilation error due to lack of
sbi_mk_version(); add it manually.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
arch/riscv/include/asm/sbi.h