diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-06-19 06:50:30 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-21 11:10:36 +0200 |
commit | f13e72db3e2e90b57521c0859365dc78fb807aa6 (patch) | |
tree | de02046a33114eb2046254526f9c57046842f62e /commands/Kconfig | |
parent | 2015dc8017ab622810a65f38ff5c11c6938e4098 (diff) | |
download | barebox-f13e72db3e2e90b57521c0859365dc78fb807aa6.tar.gz |
RISC-V: cpuinfo: return some output for non-SBI systems as well
If barebox managed to actually execute the cpuinfo command, it probably
means that it's assumption which instructon set is being used and
whether it runs in machine or supervisor mode is correct.
Add that output to cpuinfo, so it shows at least something for non-SBI
configurations.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210619045055.779-5-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 5ae3cb3dd1..6da68a7f14 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -47,9 +47,9 @@ config CMD_ARM_CPUINFO config CMD_RISCV_CPUINFO bool "cpuinfo command" default y - depends on RISCV_SBI + depends on RISCV help - Show SBI info about RISC-V CPU + Show info about RISC-V CPU config CMD_DEVINFO tristate |