summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-02-12 12:00:42 +0100
committerMartin Roth <martinroth@google.com>2018-02-20 20:44:14 +0000
commit601197c768ea4a08802016f5b5aae6a9f22a751a (patch)
tree279fd71e71567a141d1cd8b3daf19e07898d5322 /src
parentfeefcca601ce54450fc849d337b82193566ce272 (diff)
mb/emu/spike-riscv: Move usage instructions into Kconfig help
... and fix them in the process. The Kconfig help text seems to be a slightly better place for such documentation than a comment in Kconfig. Change-Id: I4114e17ad9c486a9de059040b0e2821540c31aad Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/23708 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/emulation/spike-riscv/Kconfig3
-rw-r--r--src/mainboard/emulation/spike-riscv/Kconfig.name5
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mainboard/emulation/spike-riscv/Kconfig b/src/mainboard/emulation/spike-riscv/Kconfig
index ab5e7c9c8c..67161f331a 100644
--- a/src/mainboard/emulation/spike-riscv/Kconfig
+++ b/src/mainboard/emulation/spike-riscv/Kconfig
@@ -12,9 +12,6 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
-# To execute, do:
-# qemu-system-arm -M vexpress-a9 -m 1024M -nographic -kernel build/coreboot.rom
-
if BOARD_EMULATION_SPIKE_UCB_RISCV
config BOARD_SPECIFIC_OPTIONS # dummy
diff --git a/src/mainboard/emulation/spike-riscv/Kconfig.name b/src/mainboard/emulation/spike-riscv/Kconfig.name
index 36dd509eb0..66266f7293 100644
--- a/src/mainboard/emulation/spike-riscv/Kconfig.name
+++ b/src/mainboard/emulation/spike-riscv/Kconfig.name
@@ -1,2 +1,7 @@
config BOARD_EMULATION_SPIKE_UCB_RISCV
bool "SPIKE ucb riscv"
+ help
+ To run coreboot in spike:
+ * run "make" as usual
+ * util/riscvtools/make-spike-elf.sh build/coreboot.{rom,elf}
+ * spike -m1024 build/coreboot.elf