Author: jogo Date: 2015-03-16 12:53:14 +0100 (Mon, 16 Mar 2015) New Revision: 44840
Modified: trunk/target/linux/brcm63xx/base-files/lib/brcm63xx.sh trunk/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh Log: 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 <[email protected]> Modified: trunk/target/linux/brcm63xx/base-files/lib/brcm63xx.sh =================================================================== --- trunk/target/linux/brcm63xx/base-files/lib/brcm63xx.sh 2015-03-16 11:53:06 UTC (rev 44839) +++ trunk/target/linux/brcm63xx/base-files/lib/brcm63xx.sh 2015-03-16 11:53:14 UTC (rev 44840) @@ -269,5 +269,3 @@ echo $name } - -brcm63xx_detect Modified: trunk/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh =================================================================== --- trunk/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh 2015-03-16 11:53:06 UTC (rev 44839) +++ trunk/target/linux/brcm63xx/base-files/lib/preinit/03_do_brcm63xx.sh 2015-03-16 11:53:14 UTC (rev 44840) @@ -2,6 +2,8 @@ do_brcm63xx() { . /lib/brcm63xx.sh + + brcm63xx_detect } boot_hook_add preinit_main do_brcm63xx _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
