adm5120: Added preinit script to set vars based on cpuinfo during preinit main; This...
authorDaniel Dickinson <crazycshore@gmail.com>
Sun, 30 May 2010 03:20:38 +0000 (03:20 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Sun, 30 May 2010 03:20:38 +0000 (03:20 +0000)
SVN-Revision: 21633

target/linux/adm5120/base-files/lib/preinit/05_preinit_do_adm5120.sh [new file with mode: 0644]

diff --git a/target/linux/adm5120/base-files/lib/preinit/05_preinit_do_adm5120.sh b/target/linux/adm5120/base-files/lib/preinit/05_preinit_do_adm5120.sh
new file mode 100644 (file)
index 0000000..4fca1e7
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+do_adm5120() {
+       . /lib/adm5120.sh
+}
+
+boot_hook_add preinit_main do_adm5120