This check isn't really needed, if communication isn't possible it will just fails later on. Further it currently prevent communicating with secured devices, so just remove it. Signed-off-by: Alban Bedel <alban.bedel@xxxxxxxxxxxxxxxxx> --- src/main.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main.c b/src/main.c index 3db0ed8..b024562 100644 --- a/src/main.c +++ b/src/main.c @@ -352,13 +352,6 @@ int main(int argc, char **argv) error(1, errno, "wait status after platform info"); dump_platform_info(&info); - if (info.op_mode != RCM_OP_MODE_DEVEL && - info.op_mode != RCM_OP_MODE_ODM_OPEN && - info.op_mode != RCM_OP_MODE_ODM_SECURE && - info.op_mode != RCM_OP_MODE_PRE_PRODUCTION) - error(1, ENODEV, "device is not in developer, open, secure, " - "or pre-production mode, cannot flash"); - // download the BCT ret = download_bct(h3p, bctfile); if (ret) { -- 2.6.3 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html