Dear Kumar Gala, In message <1294183251-4905-1-git-send-email-ga...@kernel.crashing.org> you wrote: > Previously we passed in a specifically named struct pci_controller to > determine if we had setup the particular PCI bus. Now we can search for > the struct so we dont have to depend on the name or the struct being > statically allocated. > > Introduced new find_hose_by_cfg_addr() to get back a pci_controller struct > back by searching for it means we can do things like dynamically allocate > them or not have to expose the static structures to all users. > > Signed-off-by: Kumar Gala <ga...@kernel.crashing.org> > --- > * Merged with find_hose_by_cfg_addr patch > * Fixed find_hose_by_cfg_addr to have { } for multiline for > > arch/powerpc/include/asm/fsl_pci.h | 43 ++--------------------------------- > drivers/pci/fsl_pci_init.c | 5 +++- > drivers/pci/pci.c | 12 ++++++++++ > include/pci.h | 1 + > 4 files changed, 20 insertions(+), 41 deletions(-)
Acked-by: Wolfgang Denk <w...@denx.de> Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de I have a theory that it's impossible to prove anything, but I can't prove it. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot