2008-07-21 02:14:27

by Denys Fedoryshchenko

[permalink] [raw]
Subject: blackfin and USB

Hi there

I am trying to configure kernel for Blackfin (BF533). I cannot enable USB driver for host (any) till i enable PCI (and in fact there is no PCI on blackfin).
Even if i enable it, i will have:

CC drivers/pci/access.o
CC drivers/pci/bus.o
CC drivers/pci/probe.o
drivers/pci/probe.c: In function 'pci_scan_slot':
drivers/pci/probe.c:1024: error: implicit declaration of function 'pcibios_scan_all_fns'

I guess there must be a way to enable devices without enabling PCI (logically correct), or it must not call this function.

I am using 2.6.26 vanilla kernel.
Btw is networking works on Blackfin with vanilla?


2008-07-21 02:19:50

by Mike Frysinger

[permalink] [raw]
Subject: Re: blackfin and USB

On Sun, Jul 20, 2008 at 9:55 PM, <[email protected]> wrote:
> I am trying to configure kernel for Blackfin (BF533). I cannot enable USB driver for host (any)

add this to drivers/usb/Kconfig:USB_ARCH_HAS_HCD
default y if BLACKFIN

> till i enable PCI (and in fact there is no PCI on blackfin).
> Even if i enable it, i will have:

dont enable it

> Btw is networking works on Blackfin with vanilla?

"networking" works. specific driver is up to you to see if it works.
-mike