diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2016-09-20 17:45:55 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2016-09-20 17:45:55 +0530 |
commit | a5732264f35b1cd09b317ef1b03fabcf2442214b (patch) | |
tree | 5933b9dd2aa998321d16672889dfc14540b9d72f | |
parent | 5c377ac96809af23a31c974b915d2c9082000950 (diff) |
Change-Id: I5f459087b631746d13479c6d511c03fc22d20a75
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | automated/linux/device-tree/device-tree.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/automated/linux/device-tree/device-tree.sh b/automated/linux/device-tree/device-tree.sh index 9ce35b5..4a80550 100755 --- a/automated/linux/device-tree/device-tree.sh +++ b/automated/linux/device-tree/device-tree.sh @@ -29,13 +29,13 @@ SYSFS_DEVICE_TREE="/sys/firmware/devicetree/base/" DEVICE_TREE="/proc/device-tree" MODEL="model" COMPATIBLE="compatible" -SKIP_LIST_2="device-tree-"${MODLE}" device-tree-"${COMPATIBLE}"" -SKIP_LIST_1="device_tree "${SKIP_LIST_2}"" +DT_SKIP_LIST_2="device-tree-"${MODEL}" device-tree-"${COMPATIBLE}"" +DT_SKIP_LIST_1="device_tree "${DT_SKIP_LIST_2}"" # Check if /proc/device-tree is available device_tree() { [ -d "${DEVICE_TREE}" ] - exit_on_fail "device-tree" "${SKIP_LIST_2}" + exit_on_fail "device-tree" "${DT_SKIP_LIST_2}" } # Check device tree property @@ -57,7 +57,7 @@ CONFIG_PROC_FS=$(zcat /proc/config.gz | grep CONFIG_PROC_FS) CONFIG_OF=$(zcat /proc/config.gz | grep "CONFIG_OF=") [ "${CONFIG_PROC_FS}" = "CONFIG_PROC_FS=y" ] && [ "${CONFIG_OF}" = "CONFIG_OF=y" ] && [ -d "${SYSFS_DEVICE_TREE}" ] -exit_on_fail "device-tree-Kconfig" "${SKIP_LIST_1}" +exit_on_fail "device-tree-Kconfig" "${DT_SKIP_LIST_1}" device_tree device_tree_property "${MODEL}" device_tree_property "${COMPATIBLE}" |