diff options
Diffstat (limited to 'arch/blackfin/mach-common/arch_checks.c')
-rw-r--r-- | arch/blackfin/mach-common/arch_checks.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/arch/blackfin/mach-common/arch_checks.c b/arch/blackfin/mach-common/arch_checks.c index f2ca211a76a0..bceb98126c21 100644 --- a/arch/blackfin/mach-common/arch_checks.c +++ b/arch/blackfin/mach-common/arch_checks.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Do some checking to make sure things are OK | 2 | * Do some checking to make sure things are OK |
3 | * | 3 | * |
4 | * Copyright 2007-2009 Analog Devices Inc. | 4 | * Copyright 2007-2010 Analog Devices Inc. |
5 | * | 5 | * |
6 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
7 | */ | 7 | */ |
@@ -47,18 +47,20 @@ | |||
47 | # error "The kernel load address is too high; keep it below 10meg for safety" | 47 | # error "The kernel load address is too high; keep it below 10meg for safety" |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | #if ANOMALY_05000263 && defined(CONFIG_MPU) | ||
51 | # error the MPU will not function safely while Anomaly 05000263 applies | ||
52 | #endif | ||
53 | |||
50 | #if ANOMALY_05000448 | 54 | #if ANOMALY_05000448 |
51 | # error You are using a part with anomaly 05000448, this issue causes random memory read/write failures - that means random crashes. | 55 | # error You are using a part with anomaly 05000448, this issue causes random memory read/write failures - that means random crashes. |
52 | #endif | 56 | #endif |
53 | 57 | ||
54 | /* if 220 exists, can not set External Memory WB and L2 not_cached, either External Memory not_cached and L2 WB */ | 58 | /* if 220 exists, can not set External Memory WB and L2 not_cached, either External Memory not_cached and L2 WB */ |
55 | #if ANOMALY_05000220 && \ | 59 | #if ANOMALY_05000220 && \ |
56 | ((defined(CONFIG_BFIN_EXTMEM_WRITEBACK) && !defined(CONFIG_BFIN_L2_DCACHEABLE)) || \ | 60 | (defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK)) |
57 | (!defined(CONFIG_BFIN_EXTMEM_DCACHEABLE) && defined(CONFIG_BFIN_L2_WRITEBACK))) | 61 | # error "Anomaly 05000220 does not allow you to use Write Back cache with L2 or External Memory" |
58 | # error You are exposing Anomaly 220 in this config, either config L2 as Write Through, or make External Memory WB. | ||
59 | #endif | 62 | #endif |
60 | 63 | ||
61 | #if ANOMALY_05000475 && \ | 64 | #if ANOMALY_05000491 && !defined(CONFIG_CACHE_FLUSH_L1) |
62 | (defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK)) | 65 | # error You need IFLUSH in L1 inst while Anomaly 05000491 applies |
63 | # error "Anomaly 475 does not allow you to use Write Back cache with L2 or External Memory" | ||
64 | #endif | 66 | #endif |