summaryrefslogtreecommitdiffstats
path: root/arch/riscv/configs/sifive_defconfig
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2022-10-05 13:12:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-10-07 10:29:53 +0200
commit1adde7755b6481f77823b54baaee8dcc9da4b243 (patch)
treefa93b0e57eb4e33080610e76d8c19dfca3a9c7a2 /arch/riscv/configs/sifive_defconfig
parentc986c565b023b245d11d7aefe56d9d28ea412395 (diff)
downloadbarebox-1adde7755b6481f77823b54baaee8dcc9da4b243.tar.gz
barebox-1adde7755b6481f77823b54baaee8dcc9da4b243.tar.xz
RISC-V: implement cache-management errata for T-Head SoCs
Since riscv_vendor_id() can be used from pbl and non-pbl context as well as from relocated and non-relocated code, we are able to query the vendor id and add special vendor handlings. This is required since the T-Head C906 and C910 implement a scheme for handling cache operations different from the generic Zicbom extension. While on it replace the 'asm' statement by '__asm__' so we are not relying on GNU extension. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20221005111214.148844-5-m.felsch@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/riscv/configs/sifive_defconfig')
0 files changed, 0 insertions, 0 deletions