xref: /freebsd/sys/contrib/ncsw/inc/ddr_std_ext.h (revision f5e9c916afed4a948fe5c03bfaee038d165e12ab)
1 /******************************************************************************
2 
3  � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc.
4  All rights reserved.
5 
6  This is proprietary source code of Freescale Semiconductor Inc.,
7  and its use is subject to the NetComm Device Drivers EULA.
8  The copyright notice above does not evidence any actual or intended
9  publication of such source code.
10 
11  ALTERNATIVELY, redistribution and use in source and binary forms, with
12  or without modification, are permitted provided that the following
13  conditions are met:
14      * Redistributions of source code must retain the above copyright
15        notice, this list of conditions and the following disclaimer.
16      * Redistributions in binary form must reproduce the above copyright
17        notice, this list of conditions and the following disclaimer in the
18        documentation and/or other materials provided with the distribution.
19      * Neither the name of Freescale Semiconductor nor the
20        names of its contributors may be used to endorse or promote products
21        derived from this software without specific prior written permission.
22 
23  THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26  DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33  *
34 
35  **************************************************************************/
36 
37 #ifndef __DDR_SDT_EXT_H
38 #define __DDR_SDT_EXT_H
39 
40 
41 /**************************************************************************//**
42  @Group         ddr_Generic_Resources
43 
44  @Description   ddr generic functions, definitions and enums.
45 
46  @{
47 *//***************************************************************************/
48 
49 
50 /**************************************************************************//**
51  @Description   SPD maximum size
52 *//***************************************************************************/
53 #define SPD_MAX_SIZE 256
54 
55 /**************************************************************************//**
56  @Description   DDR types select
57 *//***************************************************************************/
58 typedef enum e_DdrType
59 {
60     e_DDR_DDR1,
61     e_DDR_DDR2,
62     e_DDR_DDR3,
63     e_DDR_DDR3L
64 } e_DdrType;
65 
66 /**************************************************************************//**
67  @Description   DDR Mode.
68 *//***************************************************************************/
69 typedef enum e_DdrMode
70 {
71     e_DDR_BUS_WIDTH_32BIT,
72     e_DDR_BUS_WIDTH_64BIT
73 } e_DdrMode;
74 
75 /** @} */ /* end of ddr_Generic_Resources group */
76 
77 
78 
79 #endif /* __DDR_SDT_EXT_H */
80 
81