diff --git a/scripts/imx/imx.c b/scripts/imx/imx.c index 4d2f65a..1fb3922 100644 --- a/scripts/imx/imx.c +++ b/scripts/imx/imx.c @@ -221,6 +221,12 @@ return 0; } +static int do_dcdofs_error(struct config_data *data, int argc, char *argv[]) +{ + fprintf(stderr, "ERROR: misnomer dcdofs has been renamed to ivtofs. imxcfg must be adapted.\n"); + return -EINVAL; +} + struct soc_type { char *name; int header_version; @@ -589,6 +595,9 @@ .name = "ivtofs", .parse = do_ivt_offset, }, { + .name = "dcdofs", + .parse = do_dcdofs_error, + }, { .name = "soc", .parse = do_soc, }, {