at91: add Device Tree based board detection
[openwrt-github/.git] / target / linux / at91 / base-files / lib / preinit / 03_preinit_do_at91.sh
1 #!/bin/sh
2
3 do_at91() {
4         . /lib/at91.sh
5
6         at91_board_detect
7 }
8
9 boot_hook_add preinit_main do_at91