Files
Linux_Drivers/u-boot-2021.10/arch/mips/mach-octeon/include/mach/cvmx-dbg-defs.h
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

34 lines
605 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2020 Marvell International Ltd.
*
* Configuration and status register (CSR) type definitions for
* Octeon dbg.
*/
#ifndef __CVMX_DBG_DEFS_H__
#define __CVMX_DBG_DEFS_H__
#define CVMX_DBG_DATA (0x00011F00000001E8ull)
/**
* cvmx_dbg_data
*
* DBG_DATA = Debug Data Register
*
* Value returned on the debug-data lines from the RSLs
*/
union cvmx_dbg_data {
u64 u64;
struct cvmx_dbg_data_s {
u64 reserved_23_63 : 41;
u64 c_mul : 5;
u64 dsel_ext : 1;
u64 data : 17;
} s;
};
typedef union cvmx_dbg_data cvmx_dbg_data_t;
#endif