<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/pci, branch v2012.10-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/pci?h=v2012.10-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/pci?h=v2012.10-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2012-09-21T22:24:34Z</updated>
<entry>
<title>pci: fix some warnings related to assumptions about</title>
<updated>2012-09-21T22:24:34Z</updated>
<author>
<name>Kumar Gala</name>
<email>galak@kernel.crashing.org</email>
</author>
<published>2012-09-19T04:47:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cf5787f2a4f1af71e72f4faaee32685c8f82a3dd'/>
<id>urn:sha1:cf5787f2a4f1af71e72f4faaee32685c8f82a3dd</id>
<content type='text'>
The following commit introduced some warnings associated with using
pci_addr_t instead of a proper 32-bit data type.

commit af778c6d9e2b945ee03cbc53bb976238a3374f33
Author: Andrew Sharp &lt;andywyse6@gmail.com&gt;
Date:   Wed Aug 1 12:27:16 2012 +0000

    pci: fix errant data types and corresponding access functions

On some platforms pci_addr_t is defined as a 64-bit data type so its not
proper to use with pci_{read,write}_config_dword.

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>pci: add CONFIG_PCI_ENUM_ONLY for platforms that don't need PCI setup done</title>
<updated>2012-09-02T12:19:05Z</updated>
<author>
<name>Andrew Sharp</name>
<email>andywyse6@gmail.com</email>
</author>
<published>2012-08-29T14:16:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=69fd2d3b0559f221a45e9a86b8ead16490f4e47b'/>
<id>urn:sha1:69fd2d3b0559f221a45e9a86b8ead16490f4e47b</id>
<content type='text'>
Introduce CONFIG_PCI_ENUM_ONLY variable for platforms that just want a
quick enumberation of the PCI devices, but don't need any setup work done.
This is very beneficial on platforms that have u-boot loaded by another
boot loader which does a more sophisticated job of setup of PCI devices
than 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 &lt;andywyse6@gmail.com&gt;
</content>
</entry>
<entry>
<title>pci: minor cleanup of CONFIG_PCI_PNP usage</title>
<updated>2012-09-02T12:18:19Z</updated>
<author>
<name>Andrew Sharp</name>
<email>andywyse6@gmail.com</email>
</author>
<published>2012-08-29T14:16:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=03992ac2c974ae3e169219ba0ccdd94a8ce0146a'/>
<id>urn:sha1:03992ac2c974ae3e169219ba0ccdd94a8ce0146a</id>
<content type='text'>
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 &lt;andywyse6@gmail.com&gt;
</content>
</entry>
<entry>
<title>pci: clean up some whitespace and formatting</title>
<updated>2012-09-02T12:17:52Z</updated>
<author>
<name>Andrew Sharp</name>
<email>andywyse6@gmail.com</email>
</author>
<published>2012-08-29T14:16:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cb2bf931dcca9ed0ee514680ed99d51b45036aa9'/>
<id>urn:sha1:cb2bf931dcca9ed0ee514680ed99d51b45036aa9</id>
<content type='text'>
I tried to clean up the white space and formatting offenses and
inconsistencies in the generic PCI code that obviously has been around for
some time.  Emphasis on large increases in readability and maintainability
and consistency.  I omitted the platform/processor specific files in
the drivers/pci directory because I wanted to leave those file to those
that care more about them.

Signed-off-by: Andrew Sharp &lt;andywyse6@gmail.com&gt;
</content>
</entry>
<entry>
<title>pci: fix errant data types and corresponding access functions</title>
<updated>2012-09-02T12:17:42Z</updated>
<author>
<name>Andrew Sharp</name>
<email>andywyse6@gmail.com</email>
</author>
<published>2012-08-01T12:27:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=af778c6d9e2b945ee03cbc53bb976238a3374f33'/>
<id>urn:sha1:af778c6d9e2b945ee03cbc53bb976238a3374f33</id>
<content type='text'>
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 &lt;andywyse6@gmail.com&gt;
</content>
</entry>
<entry>
<title>pci: declare pciauto functions in header</title>
<updated>2012-03-30T20:46:00Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2012-03-25T12:13:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a3a707257f4666b4bc2e3f4ddd9510f2b9f64aed'/>
<id>urn:sha1:a3a707257f4666b4bc2e3f4ddd9510f2b9f64aed</id>
<content type='text'>
The FSL PCI driver uses local prototypes for
pciauto_[pre|post]scan_setup_bridge(), this does not seem right,
so move them to the &lt;pci.h&gt; file.

Fixed a small extern declaration too, this is harmless but distracts
the view since all other prototypes are explicitly external.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pci: move pciauto_config_init() to pci.h</title>
<updated>2012-03-04T20:13:33Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2012-03-03T10:05:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a1e47b66d98f5caf19895965cfe38c176bbf01e8'/>
<id>urn:sha1:a1e47b66d98f5caf19895965cfe38c176bbf01e8</id>
<content type='text'>
Fixing build regressions for the Integrator I get find that a few
boards try to work around the missing declaration of
pciauto_config_init() by declaring it in the local scope. This
does not make sense when the sibling functions are in &lt;pci.h&gt;
so move the function to the header, ridding the build error
in the Integrator and getting rid of the local declarations
here and there.

Reported-by:  Wolfgang Denk &lt;wd@denx.de&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pci_ftpci100: Implementation FTPCI100 PCI driver</title>
<updated>2011-12-05T22:13:48Z</updated>
<author>
<name>Gavin Guo</name>
<email>gavinguo@andestech.com</email>
</author>
<published>2011-11-28T20:48:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=014e46782b6f986766cdaea99b954ae877be4ea5'/>
<id>urn:sha1:014e46782b6f986766cdaea99b954ae877be4ea5</id>
<content type='text'>
FTPCI100 is a SoC PCI componenet of Faraday company.
Which is usually built into SoC chips for providing
embedded PCI functions.

Signed-off-by: Gavin Guo &lt;gavinguo@andestech.com&gt;
Signed-off-by: Macpaul Lin &lt;macpaul@andestech.com&gt;
</content>
</entry>
<entry>
<title>GCC4.6: Squash warnings in fsl_pci_init.c</title>
<updated>2011-10-27T21:54:05Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-10-21T14:17:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d015df8fb1121d81a1f49817e4316746cc1e4e5b'/>
<id>urn:sha1:d015df8fb1121d81a1f49817e4316746cc1e4e5b</id>
<content type='text'>
fsl_pci_init.c: In function 'fsl_pci_init':
fsl_pci_init.c:308: warning: format '%08x' expects type 'unsigned int', but
argument 6 has type 'long unsigned int'
fsl_pci_init.c:347: warning: format '%x' expects type 'unsigned int', but
argument 2 has type 'volatile u32 *'

fsl_pci_init.c: In function 'fsl_pci_init':
fsl_pci_init.c:308: warning: format '%016llx' expects type 'long long unsigned
int', but argument 4 has type 'pci_addr_t'
fsl_pci_init.c:308: warning: format '%016llx' expects type 'long long unsigned
int', but argument 5 has type 'pci_size_t'
fsl_pci_init.c:308: warning: format '%08x' expects type 'unsigned int', but
argument 6 has type 'long unsigned int'

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>pci: move pcidelay code to new location just before PCI bus scan</title>
<updated>2011-10-15T20:16:53Z</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2011-10-11T22:44:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0da1fb03c588eebd6287b3fc7d06bf01b0588d89'/>
<id>urn:sha1:0da1fb03c588eebd6287b3fc7d06bf01b0588d89</id>
<content type='text'>
PCI cards might need some time after reset to respond. On some
boards (mpc5200 or mpc8260 based) the PCI bus reset is deasserted
at pci_init_board() time, so we currently can not use available
"pcidelay" option for waiting before PCI bus scan since this
waiting takes place before calling pci_init_board(). By moving
the pcidelay code to the new location using of the "pcidelay"
option is possible on mpc5200 or mpc8260 based boards, too.

Since pci_hose_scan() could be called multiple times, restrict
the function to wait only during its first call and to ignore
pcidelay for any further call (as pointed out by Matthias).

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Matthias Fuchs &lt;matthias.fuchs@esd.eu&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
Acked-by: Matthias Fuchs &lt;matthias.fuchs@esd.eu&gt;
Tested-by: Matthias Fuchs &lt;matthias.fuchs@esd.eu&gt;
</content>
</entry>
</feed>
