]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_i386/pci.c
imported Ka-Ro specific additions to U-Boot 2009.08 for TX28
[karo-tx-uboot.git] / lib_i386 / pci.c
index a7f16aa53b626ac1cb73a386317c016ccc78ea69..4331b04418c153fe7e6516dd667171b676f6667d 100755 (executable)
@@ -52,7 +52,7 @@ int pci_shadow_rom(pci_dev_t dev, unsigned char *dest)
        pci_read_config_word(dev, PCI_DEVICE_ID, &device);
        pci_read_config_dword(dev, PCI_CLASS_REVISION, &class_code);
 
-       class_code &= 0xffffff00;
+       class_code &= 0xffffff00;
        class_code >>= 8;
 
 #if 0
@@ -103,7 +103,7 @@ int pci_shadow_rom(pci_dev_t dev, unsigned char *dest)
                                printf("%s\n",
                                       (readw(pci_data+0x15) &0x80)?
                                       "Last image":"More images follow");
-                               switch  (readb(pci_data+0x14)) {
+                               switch  (readb(pci_data+0x14)) {
                                case 0:
                                        printf("X86 code\n");
                                        break;