m5a99x-evo: sup @ ramstage :-)
[coreboot.git] / src / lib / uart8250mem.c
index e79cb633467c40444d1e03ad627e6afe72f7f505..a38623edbcb7708d452688f334706cf50397587e 100644 (file)
@@ -117,10 +117,12 @@ u32 uart_mem_init(void)
 
 #if defined(MORE_TESTING) && !defined(__SMM__) && !defined(__PRE_RAM__)
        device_t dev = dev_find_device(0x1415, 0xc158, NULL);
+       if (!dev)
+               dev = dev_find_device(0x1415, 0xc11b, NULL);
 
        if (dev) {
                struct resource *res = find_resource(dev, 0x10);
-       
+
                if (res) {
                        uart_bar = res->base + 0x1000; // for 1st UART
                        // uart_bar = res->base + 0x2000; // for 2nd UART
@@ -131,7 +133,7 @@ u32 uart_mem_init(void)
 #endif
        uart_bar = CONFIG_OXFORD_OXPCIE_BASE_ADDRESS + 0x1000; // 1st UART
        // uart_bar = CONFIG_OXFORD_OXPCIE_BASE_ADDRESS + 0x2000; // 2nd UART
-       
+
        div = 4000000 / uart_baud;
 #endif