[U-Boot] [PATCH 0/5] light updates of common pci code; some pci ids

2012-08-01 Thread Andrew Sharp
[PATCH 1/5] pci: fix errant data types and corresponding access functions [PATCH 2/5] [cosmetic] pci: clean up some whitespace and formatting [PATCH 3/5] pci: minor cleanup of CONFIG_PCI_PNP usage [PATCH 4/5] pci: update pci_ids.h with a few new entries [PATCH 5/5] pci: add CONFIG_PCI_ENUM_ONLY for

[U-Boot] [PATCH 1/5] pci: fix errant data types and corresponding access functions

2012-08-01 Thread Andrew Sharp
In a couple of places, unsigned int and pci_config_*_dword were being used when u16 and _word should be used. Unsigned int was also being used in a couple of places that should be pci_addr_t. Signed-off-by: Andrew Sharp --- drivers/pci/pci.c |7 --- drivers/pci/pci_auto.c | 15

[U-Boot] [PATCH 2/5] [cosmetic] pci: clean up some whitespace and formatting

2012-08-01 Thread Andrew Sharp
directory because I wanted to leave those file to those that care more about them, and because none of my follow-on patches touch the non-generic code. Signed-off-by: Andrew Sharp --- drivers/pci/pci.c | 121 drivers/pci/pci_auto.c | 56

[U-Boot] [PATCH 4/5] pci: update pci_ids.h with a few new entries

2012-08-01 Thread Andrew Sharp
Add some recent entries to pci_ids.h for Intel and AMD/ATI devices that are somewhat relevant to u-boot. Signed-off-by: Andrew Sharp --- include/pci_ids.h | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/include/pci_ids.h b/include/pci_ids.h index 6a85c06

[U-Boot] [PATCH 3/5] pci: minor cleanup of CONFIG_PCI_PNP usage

2012-08-01 Thread Andrew Sharp
Refactor the common PCI code just a tiny bit surrounding the PCI_PNP (pciauto) stuff. Makes the code a tiny bit easier to read, and also makes it more obvious that almost no platform needs to setup or use the pci_config_table stuff. Signed-off-by: Andrew Sharp --- drivers/pci/pci.c | 14

[U-Boot] [PATCH 5/5] pci: add CONFIG_PCI_ENUM_ONLY for platforms that don't need PCI setup done

2012-08-01 Thread Andrew Sharp
han u-boot. That way, u-boot can just read what's there and get on with life. This is what SeaBIOS does. Signed-off-by: Andrew Sharp --- README |7 +++ drivers/pci/pci_auto.c | 36 ++-- 2 files changed, 33 insertions(+), 10 deletion

[U-Boot] [PATCH v2 0/5] pci: light update work on common pci code

2012-08-29 Thread Andrew Sharp
[PATCH 1/5] pci: fix errant data types and corresponding access functions [PATCH 2/5] [cosmetic] pci: clean up some whitespace and formatting [PATCH 3/5] pci: minor cleanup of CONFIG_PCI_PNP usage [PATCH 4/5] pci: update pci_ids.h with a few new entries [PATCH 5/5] pci: add CONFIG_PCI_ENUM_ONLY for

[U-Boot] [PATCH v2 1/5] pci: fix errant data types and corresponding access functions

2012-08-29 Thread Andrew Sharp
In a couple of places, unsigned int and pci_config_*_dword were being used when u16 and _word should be used. Unsigned int was also being used in a couple of places that should be pci_addr_t. Signed-off-by: Andrew Sharp --- drivers/pci/pci.c |7 --- drivers/pci/pci_auto.c | 15

[U-Boot] [PATCH v2 3/5] pci: minor cleanup of CONFIG_PCI_PNP usage

2012-08-29 Thread Andrew Sharp
Refactor the common PCI code just a tiny bit surrounding the PCI_PNP (pciauto) stuff. Makes the code a tiny bit easier to read, and also makes it more obvious that almost no platform needs to setup or use the pci_config_table stuff. Signed-off-by: Andrew Sharp --- drivers/pci/pci.c | 12

[U-Boot] [PATCH v2 4/5] pci: update pci_ids.h with a few new entries

2012-08-29 Thread Andrew Sharp
Add some recent entries to pci_ids.h for Intel and AMD/ATI devices that are somewhat relevant to u-boot. Signed-off-by: Andrew Sharp --- include/pci_ids.h | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/include/pci_ids.h b/include/pci_ids.h index 6a85c06

[U-Boot] [PATCH v2 2/5] [cosmetic] pci: clean up some whitespace and formatting

2012-08-29 Thread Andrew Sharp
directory because I wanted to leave those file to those that care more about them. Signed-off-by: Andrew Sharp --- drivers/pci/pci.c | 107 +-- drivers/pci/pci_auto.c | 54 +++- 2 files changed, 91 insertions(+), 70

[U-Boot] [PATCH v2 5/5] pci: add CONFIG_PCI_ENUM_ONLY for platforms that don't need PCI setup done

2012-08-29 Thread Andrew Sharp
han u-boot. That way, u-boot can just read what's there and get on with life. This is what SeaBIOS does. Signed-off-by: Andrew Sharp --- README |7 +++ drivers/pci/pci_auto.c | 35 +-- 2 files changed, 32 insertions(+), 10 deletion