]> git.sur5r.net Git - openocd/commitdiff
kinetis: Fix typo in variable names
authorAndreas Färber <afaerber@suse.de>
Mon, 16 May 2016 03:54:41 +0000 (05:54 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Tue, 17 May 2016 22:10:57 +0000 (23:10 +0100)
It's security, not securtiy.

Change-Id: Idb10d7e0a1ca47d2d93b496d12cd4ec7ad116f22
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3487
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/flash/nor/kinetis.c
src/flash/nor/kinetis_ke.c

index 4749c7bbd6864616960c852c86b99e99217526e6..3a9d4acc474da851143b68889a4daf6a1e653ca9 100644 (file)
@@ -1920,7 +1920,7 @@ COMMAND_HANDLER(kinetis_nvm_partition)
 }
 
 
-static const struct command_registration kinetis_securtiy_command_handlers[] = {
+static const struct command_registration kinetis_security_command_handlers[] = {
        {
                .name = "check_security",
                .mode = COMMAND_EXEC,
@@ -1944,7 +1944,7 @@ static const struct command_registration kinetis_exec_command_handlers[] = {
                .mode = COMMAND_ANY,
                .help = "",
                .usage = "",
-               .chain = kinetis_securtiy_command_handlers,
+               .chain = kinetis_security_command_handlers,
        },
        {
                .name = "disable_wdog",
index 4ccbe76ce44a1e03a5beb5b7516008cc9d612d80..593443cfa4ece7c856804dea16087d2d8c8cc8ce 100644 (file)
@@ -1241,7 +1241,7 @@ static int kinetis_ke_blank_check(struct flash_bank *bank)
        return ERROR_OK;
 }
 
-static const struct command_registration kinetis_ke_securtiy_command_handlers[] = {
+static const struct command_registration kinetis_ke_security_command_handlers[] = {
        {
                .name = "check_security",
                .mode = COMMAND_EXEC,
@@ -1272,7 +1272,7 @@ static const struct command_registration kinetis_ke_exec_command_handlers[] = {
                .mode = COMMAND_ANY,
                .help = "",
                .usage = "",
-               .chain = kinetis_ke_securtiy_command_handlers,
+               .chain = kinetis_ke_security_command_handlers,
        },
        {
                .name = "disable_wdog",