summaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/base-files/lib/preinit
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mpc85xx/base-files/lib/preinit')
-rw-r--r--target/linux/mpc85xx/base-files/lib/preinit/03_preinit_do_mpc85xx.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/base-files/lib/preinit/03_preinit_do_mpc85xx.sh b/target/linux/mpc85xx/base-files/lib/preinit/03_preinit_do_mpc85xx.sh
new file mode 100644
index 000000000..88ba60837
--- /dev/null
+++ b/target/linux/mpc85xx/base-files/lib/preinit/03_preinit_do_mpc85xx.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+do_mpc85xx() {
+ . /lib/mpc85xx.sh
+
+ mpc85xx_board_detect
+}
+
+boot_hook_add preinit_main do_mpc85xx