aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/base-files/lib
Commit message (Collapse)AuthorAgeFilesLines
* treewide: drop target board_name functionsMathias Kresin2017-07-151-9/+0
| | | | | | They are not used any longer. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: populate boardname and model earlierMathias Kresin2017-07-151-0/+0
| | | | | | | | | | | | | For targets using the generic board detection and board specific settings in diag.sh, the board name is still unset at the time the set_state() provided by diag.sh is called by 10_indicate_preinit. Change the execution order to ensure the boardname is populated before required the first time. Do the target specific board detection as early as possible, directly followed by the generic one to allow a seamless switch to the generic function for populating /tmp/sysinfo/. Signed-off-by: Mathias Kresin <dev@kresin.me>
* at91: add Device Tree based board detectionFlorian Fainelli2015-07-042-3/+93
| | | | | | | | Set up eth0 as LAN interface by default. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 46174
* at91: Add AT91 board and model name to /tmp/sysinfoHauke Mehrtens2014-04-291-0/+9
From 9158e3282db592e78fb32a2c8a0903ef21b97f5c Mon Sep 17 00:00:00 2001 From: Owen Kirby <osk@exegin.com> Date: Fri, 11 Apr 2014 18:28:56 -0700 Subject: [PATCH 3/3] [at91] Add AT91 board and model name to /tmp/sysinfo. This patch extracts the board name and model information from the /proc/device-tree node in order to provide something a little more friendly on the LuCI sysinfo page than just "AT91SAM9 (Device Tree)" Signed-off-by: Owen Kirby <osk@exegin.com> SVN-Revision: 40598