u-boot/arch
Alexandre Ghiti 1dde977518 riscv: Fix build against binutils 2.38
The following description is copied from the equivalent patch for the
Linux Kernel proposed by Aurelien Jarno:

>From version 2.38, binutils default to ISA spec version 20191213. This
means that the csr read/write (csrr*/csrw*) instructions and fence.i
instruction has separated from the `I` extension, become two standalone
extensions: Zicsr and Zifencei. As the kernel uses those instruction,
this causes the following build failure:

arch/riscv/cpu/mtrap.S: Assembler messages:
arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause'
arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc'
arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval'
arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0'

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Christian Stewart <christian@paral.in>
Reviewed-by: Rick Chen <rick@andestech.com>
2022-10-07 08:42:51 -04:00
..
arc treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
arm arm: mvebu: Add support for specifying VHV_Enable GPIO 2022-10-06 10:15:35 +02:00
m68k treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
microblaze treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
mips treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
nios2 treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
powerpc treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
riscv riscv: Fix build against binutils 2.38 2022-10-07 08:42:51 -04:00
sandbox sandbox: Support setting up the other FDT for testing 2022-09-29 16:10:43 -04:00
sh treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
x86 treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
xtensa treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
.gitignore
Kconfig sandbox: Convert to use driver model for SCSI 2022-09-25 13:59:50 -06:00
Kconfig.nxp Convert CONFIG_SYS_FSL_NUM_CC_PLLS to Kconfig 2022-08-12 16:10:49 -04:00
u-boot-elf.lds