Skip to contentSkip to conversation

More select madness - keystone

BUG Russell King - ARM Linux 3 participants 5 messages Jan 2, 2014 – Jan 8, 2014

lore
Share & tools
lore
#0 lore raw

warning: (ARCH_KEYSTONE && SPI_DAVINCI) selects TI_EDMA which has unmet direct dependencies (DMADEVICES && (ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE))

This results in the EDMA engine code not being built. Yet another example of why improper use of the "select" statement is bad news and leads to broken configurations.

Signature · 3 lines
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up.  Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".
#1 lore raw
Quoted 6 lines · Russell King - ARM Linux

warning: (ARCH_KEYSTONE && SPI_DAVINCI) selects TI_EDMA which has unmet direct dependencies (DMADEVICES && (ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE))

This results in the EDMA engine code not being built. Yet another example of why improper use of the "select" statement is bad news and leads to broken configurations.

Thanks for reporting Russell. Will have a look.

Regards,
Santosh

#2 lore raw
Quoted 9 lines · Santosh Shilimkar
Quoted 6 lines · Russell King - ARM Linux

warning: (ARCH_KEYSTONE && SPI_DAVINCI) selects TI_EDMA which has unmet direct dependencies (DMADEVICES && (ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE))

This results in the EDMA engine code not being built. Yet another example of why improper use of the "select" statement is bad news and leads to broken configurations.

Thanks for reporting Russell. Will have a look.

Just to be clear for records, the select was introduced before KEYSTONE support was enabled. As per git blame, it came via commit b5f1433059 {spi: davici - make davinci select edma}.

Regards,
Santosh

#3 lore raw
Quoted 8 lines · Santosh Shilimkar
Quoted 7 lines · Santosh Shilimkar
Quoted 6 lines · Russell King - ARM Linux

warning: (ARCH_KEYSTONE && SPI_DAVINCI) selects TI_EDMA which has unmet direct dependencies (DMADEVICES && (ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE))

This results in the EDMA engine code not being built. Yet another example of why improper use of the "select" statement is bad news and leads to broken configurations.

Quoted 5 lines
Quoted 2 lines

Thanks for reporting Russell. Will have a look.

Just to be clear for records, the select was introduced before KEYSTONE support was enabled. As per git blame, it came via commit b5f1433059 {spi: davici - make davinci select edma}.

I don't quite recall why this was needed and the commit description does not help. Anyway, this is not needed - at least with current code. I verified that the DaVinci SPI driver builds correctly with TI_EDMA switched off. I can send a revert.

BTW, it looks like arch/arm/mach-keystone/Kconfig has a select for TI_EDMA as well and that needs to be removed too.

Thanks,
Sekhar

#4 lore raw
Quoted 11 lines · Sekhar Nori
Quoted 10 lines · Santosh Shilimkar
Quoted 9 lines · Santosh Shilimkar
Quoted 6 lines · Russell King - ARM Linux

warning: (ARCH_KEYSTONE && SPI_DAVINCI) selects TI_EDMA which has unmet direct dependencies (DMADEVICES && (ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE))

This results in the EDMA engine code not being built. Yet another example of why improper use of the "select" statement is bad news and leads to broken configurations.

Thanks for reporting Russell. Will have a look.

Quoted 9 lines
Quoted 3 lines

Just to be clear for records, the select was introduced before KEYSTONE support was enabled. As per git blame, it came via commit b5f1433059 {spi: davici - make davinci select edma}.

I don't quite recall why this was needed and the commit description does not help. Anyway, this is not needed - at least with current code. I verified that the DaVinci SPI driver builds correctly with TI_EDMA switched off. I can send a revert.

Please do...

Quoted 3 lines

BTW, it looks like arch/arm/mach-keystone/Kconfig has a select for TI_EDMA as well and that needs to be removed too.

I have patch to kill that. Will be posting that.

Regards,
Santosh