Re: [PATCH 0/3] Add hardware dependency to TS-4800 board drivers

From: Guenter Roeck
Date: Tue Feb 09 2016 - 10:16:35 EST


On 02/09/2016 07:08 AM, Damien Riegel wrote:
Hi Jean,

On Tue, Feb 09, 2016 at 11:15:49AM +0100, Jean Delvare wrote:
Hi all,

This adds hardware dependency to 3 drivers for the Technologic Systems
TS-4800 board. Thanks to these dependencies, users of other systems
will not accidentally enable these drivers.

These drivers are for IPs implemented in an FPGA. For now it is true
that they are used only on one board with an iMX.51 but this is not a
strong dependency and it might change in the future if Technologic
Systems decide to reuse these IPs on boards based on different SoCs.

As the FPGA and the SoC are two separate chips, I don't know how such
dependency should be expressed in kconfig.


You could add a Kconfig option for the FPGA, which currently depends
on the SoC.

Guenter