]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: fix dependency for t-head errata
authorHeiko Stuebner <heiko@sntech.de>
Thu, 26 May 2022 20:56:45 +0000 (22:56 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 16 Jun 2022 22:42:55 +0000 (15:42 -0700)
commitf4837fe7ddb0f8367ddcc102da0615451725010e
tree2cf7b292df2e1f58bb211ed33c53d995446c4286
parentcf1710d1388cf5bd81996b258399c4907d27006e
riscv: fix dependency for t-head errata

alternatives only work correctly on non-xip-kernels and while the
selected alternative-symbol has the correct dependency the symbol
selecting it also needs that dependency.

So add the missing dependency to the T-Head errata Kconfig symbol.

Reported-by: kernel test robot <yujie.liu@intel.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220526205646.258337-5-heiko@sntech.de
Fixes: 22bc0020fd50 ("riscv: add memory-type errata for T-Head")
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig.erratas