/* * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies and that this * notice is included verbatim in any distributions. No written agreement, * license, or royalty fee is required for any of the authorized uses. * Modifications to this software may be copyrighted by their authors * and need not follow the licensing terms described here, provided that * the new terms are clearly indicated on the first page of each file where * they apply. */ /************************************************************************ * * cplb.h * * Copyright (C) 2008 Analog Devices, Inc. * ************************************************************************/ /* Defines necessary for cplb initialisation routines. */ #ifndef _CPLB_H #define _CPLB_H #include #ifdef _MISRA_RULES #pragma diag(push) #pragma diag(suppress:misra_rule_19_4) #endif /* _MISRA_RULES */ #define CPLB_ENABLE_ICACHE_P 0 #define CPLB_ENABLE_DCACHE_P 1 #define CPLB_ENABLE_DCACHE2_P 2 #define CPLB_ENABLE_CPLBS_P 3 /* Deprecated! */ #define CPLB_ENABLE_ICPLBS_P 4 #define CPLB_ENABLE_DCPLBS_P 5 #define CPLB_SET_DCBS_P 6 #define CPLB_INVALIDATE_B_P 23 /* ___cplb_ctrl bitmasks */ #define CPLB_ENABLE_ICACHE (1<