X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Fasm-blackfin%2Fcplb.h;h=654375c2b7468214fc534ad77daf58e42bc1c642;hb=b0fac02370cffad956ff3de5e8ed4df7e7b875d7;hp=06828d77a58ff4c4583da3f71376d942e3fd381c;hpb=ce9d3c9a6a9aef61525be07fe6ba27d937236aa2;p=~andy%2Flinux diff --git a/include/asm-blackfin/cplb.h b/include/asm-blackfin/cplb.h index 06828d77a58..654375c2b74 100644 --- a/include/asm-blackfin/cplb.h +++ b/include/asm-blackfin/cplb.h @@ -65,7 +65,11 @@ #define SIZE_1M 0x00100000 /* 1M */ #define SIZE_4M 0x00400000 /* 4M */ +#ifdef CONFIG_MPU +#define MAX_CPLBS 16 +#else #define MAX_CPLBS (16 * 2) +#endif #define ASYNC_MEMORY_CPLB_COVERAGE ((ASYNC_BANK0_SIZE + ASYNC_BANK1_SIZE + \ ASYNC_BANK2_SIZE + ASYNC_BANK3_SIZE) / SIZE_4M)