command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / board / freescale / common / cmd_esbc_validate.c
index f45e2249fbac96368d0ebc62759fe2f5add2cf39..638aa3c19a4d3a0ece85068fbfa62635cb5ff57f 100644 (file)
@@ -1,15 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2015 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
 #include <fsl_validate.h>
 
-int do_esbc_halt(cmd_tbl_t *cmdtp, int flag, int argc,
-                               char * const argv[])
+int do_esbc_halt(struct cmd_tbl *cmdtp, int flag, int argc,
+                char *const argv[])
 {
        if (fsl_check_boot_mode_secure() == 0) {
                printf("Boot Mode is Non-Secure. Not entering spin loop.\n");
@@ -24,8 +24,8 @@ loop:
 }
 
 #ifndef CONFIG_SPL_BUILD
-static int do_esbc_validate(cmd_tbl_t *cmdtp, int flag, int argc,
-                               char * const argv[])
+static int do_esbc_validate(struct cmd_tbl *cmdtp, int flag, int argc,
+                           char *const argv[])
 {
        char *hash_str = NULL;
        uintptr_t haddr;