tricorder: add tricordereeprom command
[oweals/u-boot.git] / tools / bddb / defs.php
index b7518e3f797554b32b4b70300c23368572932aa9..0b50602823d778701f858fa0f5ba0402a5a648f8 100644 (file)
        function enum_to_index($name, $vals) {
                $index = array_search($GLOBALS[$name], $vals);
                if ($vals[0] != '')
-                       $index++;
+                       $index++;
                return $index;
        }