]> Git Repo - u-boot.git/commitdiff
riscv: ax25: Andes specific cache shall only support in M-mode
authorRick Chen <[email protected]>
Tue, 2 Apr 2019 07:56:42 +0000 (15:56 +0800)
committerAndes <[email protected]>
Mon, 8 Apr 2019 01:45:08 +0000 (09:45 +0800)
Limit the cache configuration only can be supported in M mode.
It can not be manipulated in S mode.

Signed-off-by: Rick Chen <[email protected]>
Cc: Greentime Hu <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Lukas Auer <[email protected]>
arch/riscv/cpu/ax25/Kconfig

index 68bd4e941956885b0ca0496415dd07a1f88f7dd9..6b4b92e6921612828ba6665a3a9e63ae59f5fb83 100644 (file)
@@ -14,6 +14,7 @@ if RISCV_NDS
 
 config RISCV_NDS_CACHE
        bool "AndeStar V5 families specific cache support"
+       depends on RISCV_MMODE
        help
          Provide Andes Technology AndeStar V5 families specific cache support.
 
This page took 0.028845 seconds and 4 git commands to generate.