]> git.dujemihanovic.xyz Git - u-boot.git/commit
microblaze: cache: improve icache Kconfig options
authorOvidiu Panait <ovpanait@gmail.com>
Tue, 31 May 2022 18:14:27 +0000 (21:14 +0300)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:16:00 +0000 (14:16 +0200)
commit8daf89678e9a8ce4203d2df6c65d9ff17aad785a
treecff596a8c6c55ff3995b424144eadee54995a7ad
parentef0a592ae8e2961519510f48ffe48b655b31610a
microblaze: cache: improve icache Kconfig options

Replace CONFIG_ICACHE with a Kconfig option more limited in scope -
XILINX_MICROBLAZE0_USE_WIC. It should be enabled if the processor supports
the "wic" (Write to Instruction Cache) instruction. It will be used to
guard "wic" invocations in microblaze cache code.

Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Link: https://lore.kernel.org/r/20220531181435.3473549-6-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/microblaze/Kconfig
arch/microblaze/cpu/cache.c
board/xilinx/microblaze-generic/Kconfig