Changeset 5074


Ignore:
Timestamp:
Feb 3, 2010 2:49:24 PM (3 years ago)
Author:
oxygene
Message:

The UART2 on the AMD cs5536 is incorrectly configured in two places.
GPIO lines 4 and 3 are swapped and also incorrectly put in IR mode receive (compound fault).

Signed-off-by: Stefan Reinauer <stepan@…>
Acked-by: Edwin Beasant <edwin_beasant@…>

Location:
trunk/src/southbridge/amd/cs5536
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/southbridge/amd/cs5536/cs5536.c

    r5022 r5074  
    299299                outl(GPIOL_8_SET, gpio_addr + GPIOL_OUT_AUX1_SELECT); 
    300300 
    301                 /* GPIO8 - UART1_RX */ 
     301                /* GPIO9 - UART1_RX */ 
    302302                /* Set: Input Enable   (0x20) */ 
    303303                outl(GPIOL_9_SET, gpio_addr + GPIOL_INPUT_ENABLE); 
     
    357357                wrmsr(MDD_IRQM_YHIGH, msr); 
    358358 
    359                 /* GPIO4 - UART2_RX */ 
     359                /* GPIO3 - UART2_RX */ 
     360                /* Set: Input Enable (0x20) */ 
     361                outl(GPIOL_3_SET, gpio_addr + GPIOL_INPUT_ENABLE); 
     362                /* Set: INAUX1 Select (0x34) */ 
     363                outl(GPIOL_3_SET, gpio_addr + GPIOL_IN_AUX1_SELECT); 
     364 
     365                /* GPIO4 - UART2_TX */ 
    360366                /* Set: Output Enable (0x4) */ 
    361367                outl(GPIOL_4_SET, gpio_addr + GPIOL_OUTPUT_ENABLE); 
    362368                /* Set: OUTAUX1 Select (0x10) */ 
    363369                outl(GPIOL_4_SET, gpio_addr + GPIOL_OUT_AUX1_SELECT); 
    364  
    365                 /* GPIO3 - UART2_TX */ 
    366                 /* Set: Input Enable (0x20) */ 
    367                 outl(GPIOL_3_SET, gpio_addr + GPIOL_INPUT_ENABLE); 
    368                 /* Set: INAUX1 Select (0x34) */ 
    369                 outl(GPIOL_3_SET, gpio_addr + GPIOL_IN_AUX1_SELECT); 
    370370 
    371371                /* Set: GPIO 3 and 4 Pull Up (0x18) */ 
  • trunk/src/southbridge/amd/cs5536/cs5536_early_setup.c

    r3052 r5074  
    173173        /* Set: OUTAUX1 Select (0x10) */ 
    174174        outl(GPIOL_8_SET, GPIO_IO_BASE + GPIOL_OUT_AUX1_SELECT); 
     175 
    175176        /* GPIO9 - UART1_RX */ 
    176177        /* Set: Input Enable   (0x20) */ 
Note: See TracChangeset for help on using the changeset viewer.