]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: Add a helper routine to print CPU information
authorBin Meng <bmeng.cn@gmail.com>
Wed, 26 Sep 2018 13:55:14 +0000 (06:55 -0700)
committerAndes <uboot@andestech.com>
Wed, 3 Oct 2018 09:47:55 +0000 (17:47 +0800)
commit0e9e3c15f8f804580e22a00306f09ab444e1e901
treede3ddfca651faf0b4a4b6796c68fca87ba981f36
parent37fb7b9bbf43544e02ead3e3b9563f6319103cc1
riscv: Add a helper routine to print CPU information

This adds a helper routine to print CPU information. Currently
it prints all the instruction set extensions that the processor
core supports.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
arch/riscv/Makefile
arch/riscv/cpu/Makefile [new file with mode: 0644]
arch/riscv/cpu/cpu.c [new file with mode: 0644]
arch/riscv/include/asm/csr.h [new file with mode: 0644]