summaryrefslogtreecommitdiff
path: root/lib_i386/pci.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-06-03 20:19:08 +0200
committerStefan Roese <sr@denx.de>2008-06-03 20:19:08 +0200
commit10a3367955bc2033b288915f8f10d0e507fe2fa1 (patch)
treec3ac82364df83db5d5cb963c64b863b77a20445c /lib_i386/pci.c
parent97f7d27c8ecf34879d6b747c10fa9a18c02a4cc0 (diff)
parent1f1554841a4c8e069d331176f0c3059fb2bb8280 (diff)
downloadu-boot-imx-10a3367955bc2033b288915f8f10d0e507fe2fa1.zip
u-boot-imx-10a3367955bc2033b288915f8f10d0e507fe2fa1.tar.gz
u-boot-imx-10a3367955bc2033b288915f8f10d0e507fe2fa1.tar.bz2
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Diffstat (limited to 'lib_i386/pci.c')
-rw-r--r--lib_i386/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_i386/pci.c b/lib_i386/pci.c
index a7f16aa..4331b04 100644
--- a/lib_i386/pci.c
+++ b/lib_i386/pci.c
@@ -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;