1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-24 03:52:08 +02:00
Files
u-boot-megous/arch/riscv/cpu
Yu Chien Peter Lin c277c787a0 riscv: Fix detecting FPU support in standard extension
We should check the string until it hits underscore, in case it
searches multi-letter extensions. For example, "rv64imac_xandes"
will be treated as D extension support since there is a "d" in
"andes", resulting illegal instruction caused by initializing FCSR.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Padmarao Begari <padmarao.begari@microchip.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
2022-11-15 15:37:17 +08:00
..
2022-11-03 13:27:56 +08:00
2022-09-26 14:29:13 +08:00