mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
drivers-edac: add Cell XDR memory types
Add the definitions for the Rambus XDR memory type used by the Cell processor. It's a pre-requisite for the followup Cell EDAC patch. Signed-off-by: Benjamin Herrenschmidt <[email protected]> Cc: Alan Cox <[email protected] Signed-off-by: Doug Thompson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c2ae24cfd1
commit
1d5f726cbf
2 changed files with 4 additions and 1 deletions
|
|
@ -136,6 +136,7 @@ enum mem_type {
|
|||
MEM_DDR2, /* DDR2 RAM */
|
||||
MEM_FB_DDR2, /* fully buffered DDR2 */
|
||||
MEM_RDDR2, /* Registered DDR2 RAM */
|
||||
MEM_XDR, /* Rambus XDR */
|
||||
};
|
||||
|
||||
#define MEM_FLAG_EMPTY BIT(MEM_EMPTY)
|
||||
|
|
@ -152,6 +153,7 @@ enum mem_type {
|
|||
#define MEM_FLAG_DDR2 BIT(MEM_DDR2)
|
||||
#define MEM_FLAG_FB_DDR2 BIT(MEM_FB_DDR2)
|
||||
#define MEM_FLAG_RDDR2 BIT(MEM_RDDR2)
|
||||
#define MEM_FLAG_XDR BIT(MEM_XDR)
|
||||
|
||||
/* chipset Error Detection and Correction capabilities and mode */
|
||||
enum edac_type {
|
||||
|
|
|
|||
|
|
@ -73,7 +73,8 @@ static const char *mem_types[] = {
|
|||
[MEM_RMBS] = "RMBS",
|
||||
[MEM_DDR2] = "Unbuffered-DDR2",
|
||||
[MEM_FB_DDR2] = "FullyBuffered-DDR2",
|
||||
[MEM_RDDR2] = "Registered-DDR2"
|
||||
[MEM_RDDR2] = "Registered-DDR2",
|
||||
[MEM_XDR] = "XDR"
|
||||
};
|
||||
|
||||
static const char *dev_types[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue