diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-03-16 11:53:14 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-03-16 11:53:14 +0000 |
commit | 9639282138dab51da70cb92c5f5e2c374e8b2375 (patch) | |
tree | 5d836d98055be107d94c297fbd7c517dc742fa1f /target/linux/brcm63xx/base-files | |
parent | 4c68a5c6d06f5e4d372b7c92c67fcefb0d1103d7 (diff) | |
download | master-187ad058-9639282138dab51da70cb92c5f5e2c374e8b2375.tar.gz master-187ad058-9639282138dab51da70cb92c5f5e2c374e8b2375.tar.bz2 master-187ad058-9639282138dab51da70cb92c5f5e2c374e8b2375.zip |
brcm63xx: call brcm63xx_detect explicitly
Now that we have converted all users of global variables to use
brcm63xx_board_name, we can savely convert the implicit call to detect
in brcm63xx.sh to a single, explicit call in preinit.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44840 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rwxr-xr-x | target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 2 | ||||
-rw-r--r-- | target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 058833963f..2c18762d19 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -269,5 +269,3 @@ brcm63xx_board_name() { echo $name } - -brcm63xx_detect diff --git a/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh index dd60c4995e..4179695024 100644 --- a/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh @@ -2,6 +2,8 @@ do_brcm63xx() { . /lib/brcm63xx.sh + + brcm63xx_detect } boot_hook_add preinit_main do_brcm63xx |