From 601197c768ea4a08802016f5b5aae6a9f22a751a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Mon, 12 Feb 2018 12:00:42 +0100 Subject: mb/emu/spike-riscv: Move usage instructions into Kconfig help MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... 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 Reviewed-on: https://review.coreboot.org/23708 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/mainboard/emulation/spike-riscv/Kconfig | 3 --- src/mainboard/emulation/spike-riscv/Kconfig.name | 5 +++++ 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 -- cgit v1.2.3