diff options
author | John Crispin <john@openwrt.org> | 2015-02-14 20:48:08 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-02-14 20:48:08 +0000 |
commit | dc72499b5326531b603ec38410602ff7ed7f1287 (patch) | |
tree | 47bbc3b4bde91d31f96080ab166d704a63fbd151 /target/linux/brcm2708/base-files/lib/preinit | |
parent | eea462106f20fbd90acc6cfba21c73b9677b2752 (diff) | |
download | upstream-dc72499b5326531b603ec38410602ff7ed7f1287.tar.gz upstream-dc72499b5326531b603ec38410602ff7ed7f1287.tar.bz2 upstream-dc72499b5326531b603ec38410602ff7ed7f1287.zip |
brcm2708: add board detection and LED support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44447
Diffstat (limited to 'target/linux/brcm2708/base-files/lib/preinit')
-rw-r--r-- | target/linux/brcm2708/base-files/lib/preinit/03_preinit_do_brcm2708.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/brcm2708/base-files/lib/preinit/03_preinit_do_brcm2708.sh b/target/linux/brcm2708/base-files/lib/preinit/03_preinit_do_brcm2708.sh new file mode 100644 index 0000000000..e3cf56d317 --- /dev/null +++ b/target/linux/brcm2708/base-files/lib/preinit/03_preinit_do_brcm2708.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +do_brcm2708() { + . /lib/brcm2708.sh + + brcm2708_board_detect +} + +boot_hook_add preinit_main do_brcm2708 |