-Clean up some comments.

-Remove some white spaces.
-Remove some leading zeros.
-Fix a typo in LX code.

Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl>
Acked-by: Myles Watson <mylesgw@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6219 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Nils Jacobs 2010-12-29 20:31:31 +00:00 committed by Myles Watson
parent fc01e5e3bb
commit ef15ff4de4
3 changed files with 196 additions and 218 deletions

View File

@ -91,12 +91,12 @@
#define MDD_LBAR_MFGPT (MSR_SB_MDD + 0x0D) #define MDD_LBAR_MFGPT (MSR_SB_MDD + 0x0D)
#define MDD_LBAR_ACPI (MSR_SB_MDD + 0x0E) #define MDD_LBAR_ACPI (MSR_SB_MDD + 0x0E)
#define MDD_LBAR_PMS (MSR_SB_MDD + 0x0F) #define MDD_LBAR_PMS (MSR_SB_MDD + 0x0F)
#define MDD_LBAR_FLSH0 (MSR_SB_MDD + 0x010) #define MDD_LBAR_FLSH0 (MSR_SB_MDD + 0x10)
#define MDD_LBAR_FLSH1 (MSR_SB_MDD + 0x011) #define MDD_LBAR_FLSH1 (MSR_SB_MDD + 0x11)
#define MDD_LBAR_FLSH2 (MSR_SB_MDD + 0x012) #define MDD_LBAR_FLSH2 (MSR_SB_MDD + 0x12)
#define MDD_LBAR_FLSH3 (MSR_SB_MDD + 0x013) #define MDD_LBAR_FLSH3 (MSR_SB_MDD + 0x13)
#define MDD_PIN_OPT (MSR_SB_MDD + 0x015) #define MDD_PIN_OPT (MSR_SB_MDD + 0x15)
#define MDD_NORF_CNTRL (MSR_SB_MDD + 0x018) #define MDD_NORF_CNTRL (MSR_SB_MDD + 0x18)
/* GPIO */ /* GPIO */
#define GPIOL_2_SET (1 << 2) #define GPIOL_2_SET (1 << 2)

View File

@ -35,9 +35,9 @@
#define ACPI_IO_BASE 0x9C00 #define ACPI_IO_BASE 0x9C00
#define PMS_IO_BASE 0x9D00 #define PMS_IO_BASE 0x9D00
#define CS5535_IDSEL 0x02000000 // IDSEL = AD25, device #15 #define CS5535_IDSEL 0x02000000 /* IDSEL = AD25, device #15 */
#define CHIPSET_DEV_NUM 15 #define CHIPSET_DEV_NUM 15
#define IDSEL_BASE 11 // bit 11 = device 1 #define IDSEL_BASE 11 /* bit 11 = device 1 */
/* Cs5536 as follows. */ /* Cs5536 as follows. */
/* SB_GLIU */ /* SB_GLIU */
@ -59,23 +59,17 @@
#define MSR_SB_USB1 ((6 << SB_SHIFT) + MSR_SB) /* 5160xxxx */ #define MSR_SB_USB1 ((6 << SB_SHIFT) + MSR_SB) /* 5160xxxx */
#define MSR_SB_GLCP ((7 << SB_SHIFT) + MSR_SB) /* 5170xxxx */ #define MSR_SB_GLCP ((7 << SB_SHIFT) + MSR_SB) /* 5170xxxx */
/* */
/* GLIU */ /* GLIU */
/* */
#define GLIU_SB_GLD_MSR_CAP (MSR_SB_GLIU + 0x00) #define GLIU_SB_GLD_MSR_CAP (MSR_SB_GLIU + 0x00)
#define GLIU_SB_GLD_MSR_CONF (MSR_SB_GLIU + 0x01) #define GLIU_SB_GLD_MSR_CONF (MSR_SB_GLIU + 0x01)
#define GLIU_SB_GLD_MSR_PM (MSR_SB_GLIU + 0x04) #define GLIU_SB_GLD_MSR_PM (MSR_SB_GLIU + 0x04)
/* */
/* USB1 */ /* USB1 */
/* */
#define USB1_SB_GLD_MSR_CAP (MSR_SB_USB1 + 0x00) #define USB1_SB_GLD_MSR_CAP (MSR_SB_USB1 + 0x00)
#define USB1_SB_GLD_MSR_CONF (MSR_SB_USB1 + 0x01) #define USB1_SB_GLD_MSR_CONF (MSR_SB_USB1 + 0x01)
#define USB1_SB_GLD_MSR_PM (MSR_SB_USB1 + 0x04) #define USB1_SB_GLD_MSR_PM (MSR_SB_USB1 + 0x04)
/* */
/* USB2 */ /* USB2 */
/* */
#define USB2_SB_GLD_MSR_CAP (MSR_SB_USB2 + 0x00) #define USB2_SB_GLD_MSR_CAP (MSR_SB_USB2 + 0x00)
#define USB2_SB_GLD_MSR_CONF (MSR_SB_USB2 + 0x01) #define USB2_SB_GLD_MSR_CONF (MSR_SB_USB2 + 0x01)
#define USB2_UPPER_SSDEN_SET (1 << 3 ) /* Bit 35 */ #define USB2_UPPER_SSDEN_SET (1 << 3 ) /* Bit 35 */
@ -86,40 +80,32 @@
#define USB2_SB_GLD_MSR_DEVCTL_BASE (MSR_SB_USB2 + 0x0A) #define USB2_SB_GLD_MSR_DEVCTL_BASE (MSR_SB_USB2 + 0x0A)
#define USB2_SB_GLD_MSR_UOC_BASE (MSR_SB_USB2 + 0x0B) /* Option controller base */ #define USB2_SB_GLD_MSR_UOC_BASE (MSR_SB_USB2 + 0x0B) /* Option controller base */
/* */
/* ATA */ /* ATA */
/* */
#define ATA_SB_GLD_MSR_CAP (MSR_SB_ATA + 0x00) #define ATA_SB_GLD_MSR_CAP (MSR_SB_ATA + 0x00)
#define ATA_SB_GLD_MSR_CONF (MSR_SB_ATA + 0x01) #define ATA_SB_GLD_MSR_CONF (MSR_SB_ATA + 0x01)
#define ATA_SB_GLD_MSR_ERR (MSR_SB_ATA + 0x03) #define ATA_SB_GLD_MSR_ERR (MSR_SB_ATA + 0x03)
#define ATA_SB_GLD_MSR_PM (MSR_SB_ATA + 0x04) #define ATA_SB_GLD_MSR_PM (MSR_SB_ATA + 0x04)
#define ATA_SB_IDE_CFG (MSR_SB_ATA + 0x10)
/* */
/* AC97 */ /* AC97 */
/* */
#define AC97_SB_GLD_MSR_CAP (MSR_SB_AC97 + 0x00) #define AC97_SB_GLD_MSR_CAP (MSR_SB_AC97 + 0x00)
#define AC97_SB_GLD_MSR_CONF (MSR_SB_AC97 + 0x01) #define AC97_SB_GLD_MSR_CONF (MSR_SB_AC97 + 0x01)
#define AC97_SB_GLD_MSR_PM (MSR_SB_AC97 + 0x04) #define AC97_SB_GLD_MSR_PM (MSR_SB_AC97 + 0x04)
/* */
/* GLPCI */ /* GLPCI */
/* */
#define GLPCI_SB_GLD_MSR_CAP (MSR_SB_GLPCI + 0x00) #define GLPCI_SB_GLD_MSR_CAP (MSR_SB_GLPCI + 0x00)
#define GLPCI_SB_GLD_MSR_CONF (MSR_SB_GLPCI + 0x01) #define GLPCI_SB_GLD_MSR_CONF (MSR_SB_GLPCI + 0x01)
#define GLPCI_SB_GLD_MSR_PM (MSR_SB_GLPCI + 0x04) #define GLPCI_SB_GLD_MSR_PM (MSR_SB_GLPCI + 0x04)
#define GLPCI_SB_CTRL (MSR_SB_GLPCI + 0x10) #define GLPCI_SB_CTRL (MSR_SB_GLPCI + 0x10)
#define GLPCI_CRTL_PPIDE_SET (1 << 17) #define GLPCI_CRTL_PPIDE_SET (1 << 17)
/* */
/* GLCP */ /* GLCP */
/* */
#define GLCP_SB_GLD_MSR_CAP (MSR_SB_GLCP + 0x00) #define GLCP_SB_GLD_MSR_CAP (MSR_SB_GLCP + 0x00)
#define GLCP_SB_GLD_MSR_CONF (MSR_SB_GLCP + 0x01) #define GLCP_SB_GLD_MSR_CONF (MSR_SB_GLCP + 0x01)
#define GLCP_SB_GLD_MSR_PM (MSR_SB_GLCP + 0x04) #define GLCP_SB_GLD_MSR_PM (MSR_SB_GLCP + 0x04)
#define GLCP_SB_CLKOFF (MSR_SB_GLCP + 0x10) #define GLCP_SB_CLKOFF (MSR_SB_GLCP + 0x10)
/* */
/* MDD */ /* MDD */
/* */
#define MDD_SB_GLD_MSR_CAP (MSR_SB_MDD + 0x00) #define MDD_SB_GLD_MSR_CAP (MSR_SB_MDD + 0x00)
#define MDD_SB_GLD_MSR_CONF (MSR_SB_MDD + 0x01) #define MDD_SB_GLD_MSR_CONF (MSR_SB_MDD + 0x01)
#define MDD_SB_GLD_MSR_PM (MSR_SB_MDD + 0x04) #define MDD_SB_GLD_MSR_PM (MSR_SB_MDD + 0x04)
@ -135,82 +121,77 @@
#define MDD_LBAR_ACPI (MSR_SB_MDD + 0x0E) #define MDD_LBAR_ACPI (MSR_SB_MDD + 0x0E)
#define MDD_LBAR_PMS (MSR_SB_MDD + 0x0F) #define MDD_LBAR_PMS (MSR_SB_MDD + 0x0F)
#define MDD_LBAR_FLSH0 (MSR_SB_MDD + 0x010) #define MDD_LBAR_FLSH0 (MSR_SB_MDD + 0x10)
#define MDD_LBAR_FLSH1 (MSR_SB_MDD + 0x011) #define MDD_LBAR_FLSH1 (MSR_SB_MDD + 0x11)
#define MDD_LBAR_FLSH2 (MSR_SB_MDD + 0x012) #define MDD_LBAR_FLSH2 (MSR_SB_MDD + 0x12)
#define MDD_LBAR_FLSH3 (MSR_SB_MDD + 0x013) #define MDD_LBAR_FLSH3 (MSR_SB_MDD + 0x13)
#define MDD_LEG_IO (MSR_SB_MDD + 0x014) #define MDD_LEG_IO (MSR_SB_MDD + 0x14)
#define MDD_PIN_OPT (MSR_SB_MDD + 0x015) #define MDD_PIN_OPT (MSR_SB_MDD + 0x15)
#define MDD_SOFT_IRQ (MSR_SB_MDD + 0x016) #define MDD_SOFT_IRQ (MSR_SB_MDD + 0x16)
#define MDD_SOFT_RESET (MSR_SB_MDD + 0x017) #define MDD_SOFT_RESET (MSR_SB_MDD + 0x17)
#define MDD_NORF_CNTRL (MSR_SB_MDD + 0x018) #define MDD_NORF_CNTRL (MSR_SB_MDD + 0x18)
#define MDD_NORF_T01 (MSR_SB_MDD + 0x019) #define MDD_NORF_T01 (MSR_SB_MDD + 0x19)
#define MDD_NORF_T23 (MSR_SB_MDD + 0x01A) #define MDD_NORF_T23 (MSR_SB_MDD + 0x1A)
#define MDD_NANDF_DATA (MSR_SB_MDD + 0x01B) #define MDD_NANDF_DATA (MSR_SB_MDD + 0x1B)
#define MDD_NADF_CNTL (MSR_SB_MDD + 0x01C) #define MDD_NADF_CNTL (MSR_SB_MDD + 0x1C)
#define MDD_AC_DMA (MSR_SB_MDD + 0x01E) #define MDD_AC_DMA (MSR_SB_MDD + 0x1E)
#define MDD_KEL_CNTRL (MSR_SB_MDD + 0x01F) #define MDD_KEL_CNTRL (MSR_SB_MDD + 0x1F)
#define MDD_IRQM_YLOW (MSR_SB_MDD + 0x020) #define MDD_IRQM_YLOW (MSR_SB_MDD + 0x20)
#define MDD_IRQM_YHIGH (MSR_SB_MDD + 0x021) #define MDD_IRQM_YHIGH (MSR_SB_MDD + 0x21)
#define MDD_IRQM_ZLOW (MSR_SB_MDD + 0x022) #define MDD_IRQM_ZLOW (MSR_SB_MDD + 0x22)
#define MDD_IRQM_ZHIGH (MSR_SB_MDD + 0x023) #define MDD_IRQM_ZHIGH (MSR_SB_MDD + 0x23)
#define MDD_IRQM_PRIM (MSR_SB_MDD + 0x024) #define MDD_IRQM_PRIM (MSR_SB_MDD + 0x24)
#define MDD_IRQM_LPC (MSR_SB_MDD + 0x025) #define MDD_IRQM_LPC (MSR_SB_MDD + 0x25)
#define MDD_IRQM_LXIRR (MSR_SB_MDD + 0x026) #define MDD_IRQM_LXIRR (MSR_SB_MDD + 0x26)
#define MDD_IRQM_HXIRR (MSR_SB_MDD + 0x027) #define MDD_IRQM_HXIRR (MSR_SB_MDD + 0x27)
#define MDD_MFGPT_IRQ (MSR_SB_MDD + 0x028) #define MDD_MFGPT_IRQ (MSR_SB_MDD + 0x28)
#define MDD_MFGPT_NR (MSR_SB_MDD + 0x029) #define MDD_MFGPT_NR (MSR_SB_MDD + 0x29)
#define MDD_MFGPT_RES0 (MSR_SB_MDD + 0x02A) #define MDD_MFGPT_RES0 (MSR_SB_MDD + 0x2A)
#define MDD_MFGPT_RES1 (MSR_SB_MDD + 0x02B) #define MDD_MFGPT_RES1 (MSR_SB_MDD + 0x2B)
#define MDD_FLOP_S3F2 (MSR_SB_MDD + 0x030) #define MDD_FLOP_S3F2 (MSR_SB_MDD + 0x30)
#define MDD_FLOP_S3F7 (MSR_SB_MDD + 0x031) #define MDD_FLOP_S3F7 (MSR_SB_MDD + 0x31)
#define MDD_FLOP_S372 (MSR_SB_MDD + 0x032) #define MDD_FLOP_S372 (MSR_SB_MDD + 0x32)
#define MDD_FLOP_S377 (MSR_SB_MDD + 0x033) #define MDD_FLOP_S377 (MSR_SB_MDD + 0x33)
#define MDD_PIC_S (MSR_SB_MDD + 0x034) #define MDD_PIC_S (MSR_SB_MDD + 0x34)
#define MDD_PIT_S (MSR_SB_MDD + 0x036) #define MDD_PIT_S (MSR_SB_MDD + 0x36)
#define MDD_PIT_CNTRL (MSR_SB_MDD + 0x037) #define MDD_PIT_CNTRL (MSR_SB_MDD + 0x37)
#define MDD_UART1_MOD (MSR_SB_MDD + 0x038) #define MDD_UART1_MOD (MSR_SB_MDD + 0x38)
#define MDD_UART1_DON (MSR_SB_MDD + 0x039) #define MDD_UART1_DON (MSR_SB_MDD + 0x39)
#define MDD_UART1_CONF (MSR_SB_MDD + 0x03A) #define MDD_UART1_CONF (MSR_SB_MDD + 0x3A)
#define MDD_UART2_MOD (MSR_SB_MDD + 0x03C) #define MDD_UART2_MOD (MSR_SB_MDD + 0x3C)
#define MDD_UART2_DON (MSR_SB_MDD + 0x03D) #define MDD_UART2_DON (MSR_SB_MDD + 0x3D)
#define MDD_UART2_CONF (MSR_SB_MDD + 0x03E) #define MDD_UART2_CONF (MSR_SB_MDD + 0x3E)
#define MDD_DMA_MAP (MSR_SB_MDD + 0x040) #define MDD_DMA_MAP (MSR_SB_MDD + 0x40)
#define MDD_DMA_SHAD1 (MSR_SB_MDD + 0x041) #define MDD_DMA_SHAD1 (MSR_SB_MDD + 0x41)
#define MDD_DMA_SHAD2 (MSR_SB_MDD + 0x042) #define MDD_DMA_SHAD2 (MSR_SB_MDD + 0x42)
#define MDD_DMA_SHAD3 (MSR_SB_MDD + 0x043) #define MDD_DMA_SHAD3 (MSR_SB_MDD + 0x43)
#define MDD_DMA_SHAD4 (MSR_SB_MDD + 0x044) #define MDD_DMA_SHAD4 (MSR_SB_MDD + 0x44)
#define MDD_DMA_SHAD5 (MSR_SB_MDD + 0x045) #define MDD_DMA_SHAD5 (MSR_SB_MDD + 0x45)
#define MDD_DMA_SHAD6 (MSR_SB_MDD + 0x046) #define MDD_DMA_SHAD6 (MSR_SB_MDD + 0x46)
#define MDD_DMA_SHAD7 (MSR_SB_MDD + 0x047) #define MDD_DMA_SHAD7 (MSR_SB_MDD + 0x47)
#define MDD_DMA_SHAD8 (MSR_SB_MDD + 0x048) #define MDD_DMA_SHAD8 (MSR_SB_MDD + 0x48)
#define MDD_DMA_SHAD9 (MSR_SB_MDD + 0x049) #define MDD_DMA_SHAD9 (MSR_SB_MDD + 0x49)
#define MDD_LPC_EADDR (MSR_SB_MDD + 0x04C) #define MDD_LPC_EADDR (MSR_SB_MDD + 0x4C)
#define MDD_LPC_ESTAT (MSR_SB_MDD + 0x04D) #define MDD_LPC_ESTAT (MSR_SB_MDD + 0x4D)
#define MDD_LPC_SIRQ (MSR_SB_MDD + 0x04E) #define MDD_LPC_SIRQ (MSR_SB_MDD + 0x4E)
#define MDD_LPC_RES (MSR_SB_MDD + 0x04F) #define MDD_LPC_RES (MSR_SB_MDD + 0x4F)
#define MDD_PML_TMR (MSR_SB_MDD + 0x050) #define MDD_PML_TMR (MSR_SB_MDD + 0x50)
#define MDD_RTC_RAM_LO_CK (MSR_SB_MDD + 0x054) #define MDD_RTC_RAM_LO_CK (MSR_SB_MDD + 0x54)
#define MDD_RTC_DOMA_IND (MSR_SB_MDD + 0x055) #define MDD_RTC_DOMA_IND (MSR_SB_MDD + 0x55)
#define MDD_RTC_MONA_IND (MSR_SB_MDD + 0x056) #define MDD_RTC_MONA_IND (MSR_SB_MDD + 0x56)
#define MDD_RTC_CENTURY_OFFSET (MSR_SB_MDD + 0x057) #define MDD_RTC_CENTURY_OFFSET (MSR_SB_MDD + 0x57)
/* ***********************************************************/
/* LBUS Device Equates - */ /* LBUS Device Equates - */
/* ***********************************************************/
/* */
/* SMBus */ /* SMBus */
/* */
#define SMB_SDA 0x00 #define SMB_SDA 0x00
#define SMB_STS 0x01 #define SMB_STS 0x01
#define SMB_STS_SLVSTP (0x01 << 7) #define SMB_STS_SLVSTP (0x01 << 7)
@ -248,10 +229,7 @@
#define SMB_CTRL3 0x06 #define SMB_CTRL3 0x06
/* */
/* GPIO */ /* GPIO */
/* */
#define GPIOL_0_SET (1 << 0) #define GPIOL_0_SET (1 << 0)
#define GPIOL_1_SET (1 << 1) #define GPIOL_1_SET (1 << 1)
#define GPIOL_2_SET (1 << 2) #define GPIOL_2_SET (1 << 2)
@ -351,18 +329,18 @@
#define GPIOH_OUT_AUX2_SELECT (0x94) #define GPIOH_OUT_AUX2_SELECT (0x94)
#define GPIOH_PULLUP_ENABLE (0x98) #define GPIOH_PULLUP_ENABLE (0x98)
#define GPIOH_PULLDOWN_ENABLE (0x9C) #define GPIOH_PULLDOWN_ENABLE (0x9C)
#define GPIOH_INPUT_ENABLE (0x0A0) #define GPIOH_INPUT_ENABLE (0xA0)
#define GPIOH_INPUT_INVERT_ENABLE (0x0A4) #define GPIOH_INPUT_INVERT_ENABLE (0xA4)
#define GPIOH_IN_FILTER_ENABLE (0x0A8) #define GPIOH_IN_FILTER_ENABLE (0xA8)
#define GPIOH_IN_EVENTCOUNT_ENABLE (0x0AC) #define GPIOH_IN_EVENTCOUNT_ENABLE (0xAC)
#define GPIOH_READ_BACK (0x0B0) #define GPIOH_READ_BACK (0xB0)
#define GPIOH_IN_AUX1_SELECT (0x0B4) #define GPIOH_IN_AUX1_SELECT (0xB4)
#define GPIOH_EVENTS_ENABLE (0x0B8) #define GPIOH_EVENTS_ENABLE (0xB8)
#define GPIOH_LOCK_ENABLE (0x0BC) #define GPIOH_LOCK_ENABLE (0xBC)
#define GPIOH_IN_POSEDGE_ENABLE (0x0C0) #define GPIOH_IN_POSEDGE_ENABLE (0xC0)
#define GPIOH_IN_NEGEDGE_ENABLE (0x0C4) #define GPIOH_IN_NEGEDGE_ENABLE (0xC4)
#define GPIOH_IN_POSEDGE_STATUS (0x0C8) #define GPIOH_IN_POSEDGE_STATUS (0xC8)
#define GPIOH_IN_NEGEDGE_STATUS (0x0CC) #define GPIOH_IN_NEGEDGE_STATUS (0xCC)
/* Input Conditioning Function Registers */ /* Input Conditioning Function Registers */
#define GPIO_00_FILTER_AMOUNT (0x50) #define GPIO_00_FILTER_AMOUNT (0x50)
@ -389,32 +367,32 @@
#define GPIO_05_FILTER_COUNT (0x7A) #define GPIO_05_FILTER_COUNT (0x7A)
#define GPIO_05_EVENT_COUNT (0x7C) #define GPIO_05_EVENT_COUNT (0x7C)
#define GPIO_05_EVENTCOMPARE_VALUE (0x7E) #define GPIO_05_EVENTCOMPARE_VALUE (0x7E)
#define GPIO_06_FILTER_AMOUNT (0x0D0) #define GPIO_06_FILTER_AMOUNT (0xD0)
#define GPIO_06_FILTER_COUNT (0x0D2) #define GPIO_06_FILTER_COUNT (0xD2)
#define GPIO_06_EVENT_COUNT (0x0D4) #define GPIO_06_EVENT_COUNT (0xD4)
#define GPIO_06_EVENTCOMPARE_VALUE (0x0D6) #define GPIO_06_EVENTCOMPARE_VALUE (0xD6)
#define GPIO_07_FILTER_AMOUNT (0x0D8) #define GPIO_07_FILTER_AMOUNT (0xD8)
#define GPIO_07_FILTER_COUNT (0x0DA) #define GPIO_07_FILTER_COUNT (0xDA)
#define GPIO_07_EVENT_COUNT (0x0DC) #define GPIO_07_EVENT_COUNT (0xDC)
#define GPIO_07_EVENTCOMPARE_VALUE (0x0DE) #define GPIO_07_EVENTCOMPARE_VALUE (0xDE)
/* R/W GPIO Interrupt &PME Mapper Registers */ /* R/W GPIO Interrupt &PME Mapper Registers */
#define GPIO_MAPPER_X (0x0E0) #define GPIO_MAPPER_X (0xE0)
#define GPIO_MAPPER_Y (0x0E4) #define GPIO_MAPPER_Y (0xE4)
#define GPIO_MAPPER_Z (0x0E8) #define GPIO_MAPPER_Z (0xE8)
#define GPIO_MAPPER_W (0x0EC) #define GPIO_MAPPER_W (0xEC)
#define GPIO_FE_SELECT_0 (0x0F0) #define GPIO_FE_SELECT_0 (0xF0)
#define GPIO_FE_SELECT_1 (0x0F1) #define GPIO_FE_SELECT_1 (0xF1)
#define GPIO_FE_SELECT_2 (0x0F2) #define GPIO_FE_SELECT_2 (0xF2)
#define GPIO_FE_SELECT_3 (0x0F3) #define GPIO_FE_SELECT_3 (0xF3)
#define GPIO_FE_SELECT_4 (0x0F4) #define GPIO_FE_SELECT_4 (0xF4)
#define GPIO_FE_SELECT_5 (0x0F5) #define GPIO_FE_SELECT_5 (0xF5)
#define GPIO_FE_SELECT_6 (0x0F6) #define GPIO_FE_SELECT_6 (0xF6)
#define GPIO_FE_SELECT_7 (0x0F7) #define GPIO_FE_SELECT_7 (0xF7)
/* Event Counter Decrement Registers */ /* Event Counter Decrement Registers */
#define GPIOL_IN_EVENT_DECREMENT (0x0F8) #define GPIOL_IN_EVENT_DECREMENT (0xF8)
#define GPIOH_IN_EVENT_DECREMENT (0x0FC) #define GPIOH_IN_EVENT_DECREMENT (0xFC)
/* PMC register */ /* PMC register */
#define PM_SSD (0x00) #define PM_SSD (0x00)

View File

@ -20,7 +20,7 @@
/* /*
* cs5536_early_setup.c: Early chipset initialization for CS5536 companion device * cs5536_early_setup.c: Early chipset initialization for CS5536 companion device
* This file implements the initialization sequence documented in section 4.2 of * This file implements the initialization sequence documented in section 4.2 of
* AMD Geode GX Processor CS5536 Companion Device GoedeROM Porting Guide. * AMD Geode GX Processor CS5536 Companion Device GeodeROM Porting Guide.
*/ */
/** /**