amba, tegra-ahb and pci (Kconfig question)

Russell King - ARM Linux linux at arm.linux.org.uk
Mon May 28 04:24:52 EDT 2012


On Mon, May 28, 2012 at 10:17:37AM +0200, Alessandro Rubini wrote:
> If the former (CONFIG_PCI_AMBA), where should the symbol be defined?
> My personal preference is doing it like this, plus help message:
> 
>    config PCI_AMBA
>           bool "PCI-to-AMBA bridge"
>           depends on ARM_AMBA && PCI
> 
> In this case, shall I name CONFIG_STA2X11 in the depends, or in the
> help message, or I'd better be generic, knowing someone else will soon
> have similar things?

Normally, ARM_AMBA is selected when required, so this would be:

config PCI_AMBA
	bool "PCI-to-AMBA bridge"
	depends on PCI
	select ARM_AMBA

I guess I should look at moving ARM_AMBA to drivers/amba/Kconfig too...



More information about the linux-arm-kernel mailing list