blob: ce8fecb12f372b95122bcf5409ab6ea014cc8abe [file] [log] [blame]
/*********************************************************************
*
* (C) Copyright IBM Corp. 2007,2010
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses>.
*
********************************************************************/
/**
* \file spi/bpcore_interface.h
*/
#ifndef _BGP_BPCORE_INT_H_ /* Prevent multiple inclusion */
#define _BGP_BPCORE_INT_H_
#define _BGP_UA_SCRATCH (0x4) /* eDRAM Scratch: 0 to 8MB */
#define _BGP_PA_SCRATCH (0x00000000)
#define _BGP_PS_SCRATCH (8 * 1024 * 1024)
#define _BGP_PM_SCRATCH (0x007FFFFF)
/* ************************************************************************* */
/* DMA Non-Fatal Interrupt Request: Group 3 bits 00:31 */
/* ************************************************************************* */
#define _BGP_IC_DMA_NFT_G3_HIER_POS 3
#define _BGP_IC_DMA_NFT_G3_UNIT_NUM 3
#define _BGP_IC_DMA_NFT_G3_UNIT_POS 0
#define _BGP_IC_DMA_NFT_G3_UNIT_SIZE 32
#define _BGP_IC_DMA_NFT_G3_UNIT_MASK 0xffffffff
#endif /* Add nothing below this line */