summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files/lib/functions/lantiq.sh
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: remove lantiq_board_model, it is unusedFelix Fietkau2017-12-131-9/+0
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit fd93f81fd85e964a697a5f550f7f162e3ec1ca05)
* lantiq: remove lantiq_board_name, use the generic function insteadFelix Fietkau2017-12-131-9/+0
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit 7e798dab56546d6f8e2fe0f913ff41e8f010af51)
* lantiq: move lantiq_board_detect() to 03_preinit_board.shFelix Fietkau2017-12-131-10/+0
| | | | | | | It is only used there Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit aa95d6cd20f7e08420562b9747c197c2eac1d2e2)
* lantiq: introduce lantiq_is_vdsl_systemMathias Kresin2017-02-181-0/+4
| | | | | | | Move the code to check if the current system is a system with vdsl support to a dedicate function to make it reusable. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use aliases device tree node for ledsMathias Kresin2016-10-051-1/+1
| | | | | | The chosen node is clearly the wrong place for aliases. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: cleanup led handling functionsMathias Kresin2016-10-051-9/+5
| | | | | | | | | Use a more generic name for the lantiq_get_dt_led_chosen function. Drop the lantiq_is_dt_led_chosen function. The lantiq_get_dt_led function can be used to achieve the same. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use default leds defined in DTSJohn Crispin2016-01-011-0/+16
| | | | | | | | | | | | | Remove all now double defined leds from the led board file. Use pppoe as default for all broadband connections, since it's the default in OpenWrt now. Rename the the wifi leds to make sure, the not applicable default values get overwritten. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48038
* lantiq: detect board in preinit stateJohn Crispin2014-07-141-2/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41638
* lantiq: generate /tmp/sysinfo/lantiq_board_name if missingJohn Crispin2014-07-101-0/+2
| | | | | | | | | | | Run lantiq_board_detect from lantiq_board_name and lantiq_board_model. This was the one thing missing from r41474 for sysupgrade board detection to work properly. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 41567
* lantiq: add support for /tmp/sysinfoJohn Crispin2014-07-021-3/+23
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41472
* lantiq: fix board detection helpersJohn Crispin2013-04-251-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36444
* cleanup basefilesJohn Crispin2012-12-151-0/+9
SVN-Revision: 34698