riscv: sifive_e: Support changing CPU type
commit74dbba9b734b3509dc3682715187339a91fcd3fb
authorCorey Wharton <coreyw7@fb.com>
Fri, 13 Mar 2020 19:34:28 +0000 (13 12:34 -0700)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 29 Apr 2020 20:16:37 +0000 (29 13:16 -0700)
tree431dde4351e58ac01f460e8196dddc937f49ecba
parente883e9927ae667a2473c4a4ec666df53af1b34d9
riscv: sifive_e: Support changing CPU type

Allows the CPU to be changed from the default via the -cpu command
line option.

Signed-off-by: Corey Wharton <coreyw7@fb.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200313193429.8035-2-coreyw7@fb.com
Message-Id: <20200313193429.8035-2-coreyw7@fb.com>
[ Changes by AF:
 - Set "cpu-type" from the machine and not SoC
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/sifive_e.c