diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-05-27 18:46:46 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-08-06 12:55:47 -0400 |
commit | 74181295fbc6e65047e85529aa74457d82355ffc (patch) | |
tree | bf218b8d35999e531643d060ac1a8987b71e2259 /arch/blackfin/Kconfig | |
parent | dc7101bbaed644e61aa0056ff572b8d7a58e1ef0 (diff) |
Blackfin: allow cache funcs to be in L1 for IFLUSH Anomaly 05000491
Anomaly 05000491 says that IFLUSH cannot have certain types of memory
stalls triggered before it has completed in order to function correctly.
One such condition is that it be in L1 instruction. So add a config
option to move it there, default it to on, and throw up a warning when
it is turned off and this anomaly exists.
Since the anomaly should be worked around, we can drop the older method
of calling IFLUSH multiple times.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index f66294b4f9d2..de4bd432b439 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -853,6 +853,18 @@ config CPLB_SWITCH_TAB_L1 | |||
853 | If enabled, the CPLB Switch Tables are linked | 853 | If enabled, the CPLB Switch Tables are linked |
854 | into L1 data memory. (less latency) | 854 | into L1 data memory. (less latency) |
855 | 855 | ||
856 | config CACHE_FLUSH_L1 | ||
857 | bool "Locate cache flush funcs in L1 Inst Memory" | ||
858 | default y | ||
859 | help | ||
860 | If enabled, the Blackfin cache flushing functions are linked | ||
861 | into L1 instruction memory. | ||
862 | |||
863 | Note that this might be required to address anomalies, but | ||
864 | these functions are pretty small, so it shouldn't be too bad. | ||
865 | If you are using a processor affected by an anomaly, the build | ||
866 | system will double check for you and prevent it. | ||
867 | |||
856 | config APP_STACK_L1 | 868 | config APP_STACK_L1 |
857 | bool "Support locating application stack in L1 Scratch Memory" | 869 | bool "Support locating application stack in L1 Scratch Memory" |
858 | default y | 870 | default y |