original files of m241
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
/* cavRst.h - Reset interface data types, macros and addresses */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015 Wind River Systems, Inc.
|
||||
*
|
||||
* The right to copy, distribute, modify or otherwise make use
|
||||
* of this software may be licensed only pursuant to the terms
|
||||
* of an applicable Wind River license agreement.
|
||||
*/
|
||||
|
||||
/*
|
||||
modification history
|
||||
--------------------
|
||||
01a,20apr15,a_j written
|
||||
*/
|
||||
|
||||
#ifndef __INCcavRsth
|
||||
#define __INCcavRsth
|
||||
|
||||
#include <arch/mips/private/cavSdkDrvInclude.h>
|
||||
#define CAV_INCLUDE_TYPEDEFS_ONLY
|
||||
#include CAV_SDK_DRV_INCLUDE(cvmx-abi.h)
|
||||
#include CAV_SDK_DRV_INCLUDE(cvmx-rst-defs.h)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* defines */
|
||||
|
||||
#define CAV_PCIE_MAX_PORTS 4
|
||||
|
||||
/*
|
||||
* ADDRESS DEFINES
|
||||
*/
|
||||
|
||||
#define CAV_RST_SOFT_RST 0x8001180006001680ull
|
||||
|
||||
#define CAV_RST_SOFT_PRSTX(offset) \
|
||||
(0x80011800060016C0ull + ((offset) & 3) * 8)
|
||||
|
||||
/* typedefs */
|
||||
|
||||
typedef cvmx_rst_soft_rst_t CAV_RST_SOFT_RST_T;
|
||||
typedef cvmx_rst_soft_prstx_t CAV_RST_SOFT_PRSTX_T;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCcavRsth */
|
||||
Reference in New Issue
Block a user