You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.2 KiB
56 lines
2.2 KiB
/** |
|
* @file AmbaDSP_ImgFastBoot.h |
|
* |
|
* @copyright Copyright (c) 2015 Ambarella, Inc. |
|
* |
|
* This file and its contents ("Software") are protected by intellectual property rights including, without limitation, |
|
* U.S. and/or foreign copyrights. This Software is also the confidential and proprietary information of Ambarella, Inc. |
|
* and its licensors. You may not use, reproduce, disclose, distribute, modify, or otherwise prepare derivative works |
|
* of this Software or any portion thereof except pursuant to a signed license agreement or nondisclosure agreement with |
|
* Ambarella, Inc. or its authorized affiliates. In the absence of such an agreement, you agree to promptly notify and |
|
* return this Software to Ambarella, Inc. |
|
* |
|
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
* WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL |
|
* AMBARELLA, INC. OR ITS AFFILIATES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
|
* COMPUTER FAILURE OR MALFUNCTION; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
|
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
* |
|
* @details Ambarella DSP Image Kernel Utility APIs |
|
* |
|
*/ |
|
|
|
#ifndef _AMBA_DSP_IMG_FASTBOOT_H_ |
|
#define _AMBA_DSP_IMG_FASTBOOT_H_ |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
#include "../basetypes.h" |
|
#define FASTBOOT_CFGS_SIZE (768) //32bit |
|
#define FASTBOOT_UPDATE_LIST_NUM (96) |
|
|
|
#define LISO_BATCH_CMD_ADDR_OFFSET (504) |
|
#define LISO_BATCH_CMD_SIZE_OFFSET (502) |
|
#define LISO_BATCH_CMD_UPDATE_FLAG_OFFSET0 (500) |
|
#define LISO_BATCH_CMD_UPDATE_FLAG_OFFSET1 (508) |
|
|
|
typedef struct { |
|
u32 package_size; |
|
u32 iso_cfg_offset; |
|
u32 hdr_cfg_offset; |
|
u32 ce_cfg_offset; |
|
u32 tables_size; |
|
u32 offset_update_list[FASTBOOT_UPDATE_LIST_NUM]; |
|
u8 cfgs[FASTBOOT_CFGS_SIZE]; |
|
u8 tables[0]; |
|
} amba_img_dsp_fastboot_data_t; |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif
|
|
|