summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/highbank/defaultenv-highbank/init/001-dtb-probe
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boards/highbank/defaultenv-highbank/init/001-dtb-probe')
-rw-r--r--arch/arm/boards/highbank/defaultenv-highbank/init/001-dtb-probe7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boards/highbank/defaultenv-highbank/init/001-dtb-probe b/arch/arm/boards/highbank/defaultenv-highbank/init/001-dtb-probe
new file mode 100644
index 0000000000..610db1500e
--- /dev/null
+++ b/arch/arm/boards/highbank/defaultenv-highbank/init/001-dtb-probe
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -e /dev/dtb ]
+then
+ oftree -l /dev/dtb
+ oftree -p
+fi