summaryrefslogtreecommitdiff
path: root/release/src/include/sbsocram.h
blob: d04dd9ee741aab3b0ea58708f0169de23ebe8be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * BCM47XX Sonics SiliconBackplane embedded ram core
 *
 * Copyright 2005, Broadcom Corporation      
 * All Rights Reserved.      
 *       
 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY      
 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM      
 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS      
 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.      
 *
 * $Id: sbsocram.h,v 1.1.1.2 2005/03/07 07:31:12 kanki Exp $
 */

#ifndef	_SBSOCRAM_H
#define	_SBSOCRAM_H

#define	SOCRAM_MEMSIZE		0x00
#define	SOCRAM_BISTSTAT		0x0c


#ifndef _LANGUAGE_ASSEMBLY

/* Memcsocram core registers */
typedef volatile struct sbsocramregs {
	uint32	memsize;
	uint32	biststat;
} sbsocramregs_t;

#endif

/* Them memory size is 2 to the power of the following
 * base added to the contents of the memsize register.
 */
#define SOCRAM_MEMSIZE_BASESHIFT 16

#endif	/* _SBSOCRAM_H */