This should return 8, not 32. Fix it.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 common/cmd_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/cmd_pci.c b/common/cmd_pci.c
index 306e734..747d6b9 100644
--- a/common/cmd_pci.c
+++ b/common/cmd_pci.c
@@ -36,7 +36,7 @@ static int pci_field_width(enum pci_size_t size)
                return 4;
        case PCI_SIZE_32:
        default:
-               return 32;
+               return 8;
        }
 }
 
-- 
2.6.0.rc2.230.g3dd15c0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to