arm: imx: Check header before calling spl_load_imx_container
[pandora-u-boot.git] / arch / arm / include / asm / mach-imx / ahab.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2020 NXP
4  */
5
6 #ifndef __IMX_AHAB_H__
7 #define __IMX_AHAB_H__
8
9 #include <imx_container.h>
10
11 int ahab_auth_cntr_hdr(struct container_hdr *container, u16 length);
12 int ahab_auth_release(void);
13 int ahab_verify_cntr_image(struct boot_img_t *img, int image_index);
14
15 #endif