}
break;
case FIMC_IS_BIN_DDK_LIBRARY:
- if (size > FIMC_IS_VERSION_OFFSET) {
- memcpy(ddk_version_str, &load_bin[size - FIMC_IS_VERSION_OFFSET],
+ if (size > DDK_VERSION_OFFSET) {
+ memcpy(ddk_version_str, &load_bin[size - DDK_VERSION_OFFSET],
FIMC_IS_VERSION_BIN_SIZE);
ddk_version_str[FIMC_IS_VERSION_BIN_SIZE] = '\0';
info("DDK version : %s\n", ddk_version_str);
}
break;
case FIMC_IS_BIN_RTA_LIBRARY:
- if (size > FIMC_IS_VERSION_OFFSET) {
- memcpy(rta_version_str, &load_bin[size - FIMC_IS_VERSION_OFFSET],
+ if (size > RTA_VERSION_OFFSET) {
+ memcpy(rta_version_str, &load_bin[size - RTA_VERSION_OFFSET],
FIMC_IS_VERSION_BIN_SIZE);
rta_version_str[FIMC_IS_VERSION_BIN_SIZE] = '\0';
info("RTA version : %s\n", rta_version_str);
#define FIMC_IS_VERSION_BIN_SIZE 44
#ifdef USE_BINARY_PADDING_DATA_ADDED
#define FIMC_IS_SIGNATURE_SIZE 528
-#define FIMC_IS_VERSION_OFFSET (FIMC_IS_VERSION_BIN_SIZE+FIMC_IS_SIGNATURE_SIZE)
+#define DDK_VERSION_OFFSET (FIMC_IS_VERSION_BIN_SIZE + FIMC_IS_SIGNATURE_SIZE)
+#define RTA_VERSION_OFFSET (FIMC_IS_VERSION_BIN_SIZE)
#else
-#define FIMC_IS_VERSION_OFFSET (FIMC_IS_VERSION_BIN_SIZE)
+#define DDK_VERSION_OFFSET (FIMC_IS_VERSION_BIN_SIZE)
+#define RTA_VERSION_OFFSET (FIMC_IS_VERSION_BIN_SIZE)
#endif
#define FIMC_IS_SETFILE_VER_OFFSET 0x40
#define FIMC_IS_SETFILE_VER_SIZE 52