[OpenWrt-Devel] [PATCH 2/2] lantiq: enable LEDS_TRIGGER_MTD support

Florian Eckert fe at dev.tdt.de
Mon Dec 3 06:21:43 EST 2018

Hello John

>> this is a very specific feature and I dont see any devices in tree
>> using the driver.

It is also correct that no image use this trigger per default.
But it is still possible for someone to put this trigger on a user 
defined LED if he wants.

>> it'll increase the image size and we have several
>> small flashed units in the target.

I don't think the size will change significantly.

>> cant you simplly make it AutoProbe
>> during preinit ? there is next to no flash activity until preinit
>> anyway.
> I've found another way. I would suggest that we add the trigger as 
> kernel
> modules under /package/kernel/linux/modules/leds.mk. Anyone who needs
> this trigger can install it with opkg or install during image 
> generation.

I have to withdraw my statement.
This is a bool option and must be switched on or off during compilation.
This could not be compiled as a module.


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list