Commit 1ed181f2 authored by Mike Frysinger's avatar Mike Frysinger

Blackfin: move MPU anomaly check to common location

Keep all anomaly/arch checks in one place to keep logic simple.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent d49e8e7e
...@@ -13,10 +13,6 @@ ...@@ -13,10 +13,6 @@
#include <asm/cplbinit.h> #include <asm/cplbinit.h>
#include <asm/mem_map.h> #include <asm/mem_map.h>
#if ANOMALY_05000263
# error the MPU will not function safely while Anomaly 05000263 applies
#endif
struct cplb_entry icplb_tbl[NR_CPUS][MAX_CPLBS]; struct cplb_entry icplb_tbl[NR_CPUS][MAX_CPLBS];
struct cplb_entry dcplb_tbl[NR_CPUS][MAX_CPLBS]; struct cplb_entry dcplb_tbl[NR_CPUS][MAX_CPLBS];
......
/* /*
* Do some checking to make sure things are OK * Do some checking to make sure things are OK
* *
* Copyright 2007-2009 Analog Devices Inc. * Copyright 2007-2010 Analog Devices Inc.
* *
* Licensed under the GPL-2 or later. * Licensed under the GPL-2 or later.
*/ */
...@@ -47,6 +47,10 @@ ...@@ -47,6 +47,10 @@
# error "The kernel load address is too high; keep it below 10meg for safety" # error "The kernel load address is too high; keep it below 10meg for safety"
#endif #endif
#if ANOMALY_05000263 && defined(CONFIG_MPU)
# error the MPU will not function safely while Anomaly 05000263 applies
#endif
#if ANOMALY_05000448 #if ANOMALY_05000448
# error You are using a part with anomaly 05000448, this issue causes random memory read/write failures - that means random crashes. # error You are using a part with anomaly 05000448, this issue causes random memory read/write failures - that means random crashes.
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment