Add the AMD Family10 Agesa code
[coreboot.git] / src / vendorcode / amd / agesa / f10 / Proc / IDS / Family / 0x10 / IdsF10AllService.h
1 /**
2  * @file
3  *
4  * AMD IDS Routines
5  *
6  * Contains AMD AGESA IDS Translation
7  *
8  * @xrefitem bom "File Content Label" "Release Content"
9  * @e project:      AGESA
10  * @e sub-project:  IDS
11  * @e \$Revision  $   @e \$Date 2008-04-07 15:08:45 -0500 (Mon, 07 Apr 2008) $
12  */
13 /*****************************************************************************
14  *
15  * Copyright (c) 2011, Advanced Micro Devices, Inc.
16  * All rights reserved.
17  * 
18  * Redistribution and use in source and binary forms, with or without
19  * modification, are permitted provided that the following conditions are met:
20  *     * Redistributions of source code must retain the above copyright
21  *       notice, this list of conditions and the following disclaimer.
22  *     * Redistributions in binary form must reproduce the above copyright
23  *       notice, this list of conditions and the following disclaimer in the
24  *       documentation and/or other materials provided with the distribution.
25  *     * Neither the name of Advanced Micro Devices, Inc. nor the names of 
26  *       its contributors may be used to endorse or promote products derived 
27  *       from this software without specific prior written permission.
28  * 
29  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
30  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
31  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
32  * DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
33  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
34  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
35  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
36  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
38  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39  * 
40  *
41  ***************************************************************************/
42 #ifndef _IDS_F10_ALLSERVICE_H_
43 #define _IDS_F10_ALLSERVICE_H_
44 #ifdef __IDS_EXTENDED__
45   #include IDS_EXT_INCLUDE_F10 (IdsIntF10AllService)
46 #endif
47
48 /// enum for ids scrub option
49 typedef enum {
50   IDS_F10_SCRUB_DIS = 0, ///< 0x00 Disable sequential scrubbing
51
52   IDS_F10_SCRUB_RESERVED,     ///< 0x01 reserved
53   IDS_F10_SCRUB_40NS,     ///< 0x02 40ns
54   IDS_F10_SCRUB_80NS,     ///< 0x03 80ns
55   IDS_F10_SCRUB_160NS,     ///< 0x04 160ns
56   IDS_F10_SCRUB_320NS,     ///< 0x05 320ns
57   IDS_F10_SCRUB_640NS,     ///< 0x06 640ns
58   IDS_F10_SCRUB_1_28US,     ///< 0x07 1.28 us
59   IDS_F10_SCRUB_2_56US,     ///< 0x08 2.56 us
60   IDS_F10_SCRUB_5_12US,     ///< 0x09 5.12 us
61   IDS_F10_SCRUB_10_2US,     ///< 0x0A 10.2 us
62   IDS_F10_SCRUB_20_5US,     ///< 0x0B 20.5 us
63   IDS_F10_SCRUB_41_0US,     ///< 0x0C 41.0 us
64   IDS_F10_SCRUB_81_9US,     ///< 0x0D 81.9 us
65   IDS_F10_SCRUB_163_8US,     ///< 0x0E 163.8 us
66   IDS_F10_SCRUB_327_7US,     ///< 0x0F 327.7 us
67   IDS_F10_SCRUB_655_4US,     ///< 0x10 655.4 us
68   IDS_F10_SCRUB_1_31MS,     ///< 0x11 1.31 ms
69   IDS_F10_SCRUB_2_62MS,     ///< 0x12 2.62 ms
70   IDS_F10_SCRUB_5_24MS,     ///< 0x13 5.24 ms
71   IDS_F10_SCRUB_10_49MS,     ///< 0x14 10.49 ms
72   IDS_F10_SCRUB_20_97MS,     ///< 0x15 20.97 ms
73   IDS_F10_SCRUB_42MS,     ///< 0x16 42ms
74   IDS_F10_SCRUB_84MS,     ///< 0x17 84ms
75
76   IDS_F10_SCRUB_AUTO = 0x1F       ///< Auto
77 } IDS_SCRUB_OPTIONS;
78 #endif
79