treewide: do board detection during preinit

Do the board detection during preinit to unify it across all targets.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin
2017-04-07 18:01:17 +02:00
parent ac3e05c5d7
commit 78cf5eed6e
13 changed files with 134 additions and 23 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
do_sysinfo_mvebu() {
. /lib/mvebu.sh
mvebu_board_detect
}
boot_hook_add preinit_main do_sysinfo_mvebu