media: atomisp: cleanup contents of css_2401_system
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Apr 2020 12:21:15 +0000 (14:21 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:19 +0000 (12:32 +0200)
Everything there is for ISP2401 only. So, we can trivially
solve all ifdefs at once.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/css_2401_system/hive_isp_css_2401_system_generated/ia_css_isp_configs.c
drivers/staging/media/atomisp/pci/css_2401_system/hive_isp_css_2401_system_generated/ia_css_isp_params.c
drivers/staging/media/atomisp/pci/css_2401_system/spmem_dump.c

index 9fae24b3e689f58e5938cdf7aa440e33e371cce2..cd37e7e3d7796107b7b81336c51b2ce3dc43d87f 100644 (file)
@@ -273,7 +273,6 @@ ia_css_configure_output(
 }
 
 /* Code generated by genparam/genconfig.c:gen_configure_function() */
-#ifdef ISP2401
 
 void
 ia_css_configure_sc(
@@ -302,7 +301,6 @@ ia_css_configure_sc(
 }
 
 /* Code generated by genparam/genconfig.c:gen_configure_function() */
-#endif
 
 void
 ia_css_configure_raw(
index 2df57c4864b72d909c77317889ec5eb8ba480fb6..68297296885e8296898c0cc3245502856e3de8d9 100644 (file)
@@ -1720,7 +1720,6 @@ ia_css_process_xnr3(
                                            "ia_css_process_xnr3() leave:\n");
                }
        }
-#ifdef ISP2401
        {
                unsigned int size   =
                    stage->binary->info->mem_offsets.offsets.param->vmem.xnr3.size;
@@ -1744,7 +1743,6 @@ ia_css_process_xnr3(
                                            "ia_css_process_xnr3() leave:\n");
                }
        }
-#endif
 }
 
 /* Code generated by genparam/gencode.c:gen_param_process_table() */
@@ -1836,10 +1834,6 @@ ia_css_set_dp_config(struct ia_css_isp_parameters *params,
        ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->dp_config = *config;
        params->config_changed[IA_CSS_DP_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_DP_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_dp_config() leave: return_void\n");
 }
@@ -1879,10 +1873,6 @@ ia_css_set_wb_config(struct ia_css_isp_parameters *params,
        ia_css_wb_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->wb_config = *config;
        params->config_changed[IA_CSS_WB_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_WB_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_wb_config() leave: return_void\n");
 }
@@ -1922,10 +1912,6 @@ ia_css_set_tnr_config(struct ia_css_isp_parameters *params,
        ia_css_tnr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->tnr_config = *config;
        params->config_changed[IA_CSS_TNR_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_TNR_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_tnr_config() leave: return_void\n");
 }
@@ -1965,10 +1951,6 @@ ia_css_set_ob_config(struct ia_css_isp_parameters *params,
        ia_css_ob_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->ob_config = *config;
        params->config_changed[IA_CSS_OB_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_OB_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_ob_config() leave: return_void\n");
 }
@@ -2008,10 +1990,6 @@ ia_css_set_de_config(struct ia_css_isp_parameters *params,
        ia_css_de_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->de_config = *config;
        params->config_changed[IA_CSS_DE_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_DE_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_de_config() leave: return_void\n");
 }
@@ -2051,10 +2029,6 @@ ia_css_set_anr_config(struct ia_css_isp_parameters *params,
        ia_css_anr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->anr_config = *config;
        params->config_changed[IA_CSS_ANR_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_ANR_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_anr_config() leave: return_void\n");
 }
@@ -2094,10 +2068,6 @@ ia_css_set_anr2_config(struct ia_css_isp_parameters *params,
        ia_css_anr2_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->anr_thres = *config;
        params->config_changed[IA_CSS_ANR2_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_ANR2_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_anr2_config() leave: return_void\n");
 }
@@ -2137,10 +2107,6 @@ ia_css_set_ce_config(struct ia_css_isp_parameters *params,
        ia_css_ce_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->ce_config = *config;
        params->config_changed[IA_CSS_CE_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_CE_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_ce_config() leave: return_void\n");
 }
@@ -2180,10 +2146,6 @@ ia_css_set_ecd_config(struct ia_css_isp_parameters *params,
        ia_css_ecd_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->ecd_config = *config;
        params->config_changed[IA_CSS_ECD_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_ECD_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_ecd_config() leave: return_void\n");
 }
@@ -2223,10 +2185,6 @@ ia_css_set_ynr_config(struct ia_css_isp_parameters *params,
        ia_css_ynr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->ynr_config = *config;
        params->config_changed[IA_CSS_YNR_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_YNR_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_ynr_config() leave: return_void\n");
 }
@@ -2266,10 +2224,6 @@ ia_css_set_fc_config(struct ia_css_isp_parameters *params,
        ia_css_fc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->fc_config = *config;
        params->config_changed[IA_CSS_FC_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_FC_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_fc_config() leave: return_void\n");
 }
@@ -2309,10 +2263,6 @@ ia_css_set_cnr_config(struct ia_css_isp_parameters *params,
        ia_css_cnr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->cnr_config = *config;
        params->config_changed[IA_CSS_CNR_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_CNR_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_cnr_config() leave: return_void\n");
 }
@@ -2352,10 +2302,6 @@ ia_css_set_macc_config(struct ia_css_isp_parameters *params,
        ia_css_macc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->macc_config = *config;
        params->config_changed[IA_CSS_MACC_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_MACC_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_macc_config() leave: return_void\n");
 }
@@ -2395,10 +2341,6 @@ ia_css_set_ctc_config(struct ia_css_isp_parameters *params,
        ia_css_ctc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->ctc_config = *config;
        params->config_changed[IA_CSS_CTC_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_CTC_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_ctc_config() leave: return_void\n");
 }
@@ -2436,10 +2378,6 @@ ia_css_set_aa_config(struct ia_css_isp_parameters *params,
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "ia_css_set_aa_config() enter:\n");
        params->aa_config = *config;
        params->config_changed[IA_CSS_AA_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_AA_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_aa_config() leave: return_void\n");
 }
@@ -2479,10 +2417,6 @@ ia_css_set_yuv2rgb_config(struct ia_css_isp_parameters *params,
        ia_css_yuv2rgb_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->yuv2rgb_cc_config = *config;
        params->config_changed[IA_CSS_YUV2RGB_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_YUV2RGB_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_yuv2rgb_config() leave: return_void\n");
 }
@@ -2522,10 +2456,6 @@ ia_css_set_rgb2yuv_config(struct ia_css_isp_parameters *params,
        ia_css_rgb2yuv_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->rgb2yuv_cc_config = *config;
        params->config_changed[IA_CSS_RGB2YUV_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_RGB2YUV_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_rgb2yuv_config() leave: return_void\n");
 }
@@ -2565,10 +2495,6 @@ ia_css_set_csc_config(struct ia_css_isp_parameters *params,
        ia_css_csc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->cc_config = *config;
        params->config_changed[IA_CSS_CSC_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_CSC_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_csc_config() leave: return_void\n");
 }
@@ -2609,10 +2535,6 @@ ia_css_set_nr_config(struct ia_css_isp_parameters *params,
        params->nr_config = *config;
        params->config_changed[IA_CSS_BNR_ID] = true;
        params->config_changed[IA_CSS_NR_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_NR_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_nr_config() leave: return_void\n");
 }
@@ -2652,10 +2574,6 @@ ia_css_set_gc_config(struct ia_css_isp_parameters *params,
        ia_css_gc_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->gc_config = *config;
        params->config_changed[IA_CSS_GC_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_GC_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_gc_config() leave: return_void\n");
 }
@@ -2699,10 +2617,6 @@ ia_css_set_sdis_horicoef_config(struct ia_css_isp_parameters *params,
        params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
        params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
        params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_SDIS_HORICOEF_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_sdis_horicoef_config() leave: return_void\n");
 }
@@ -2746,10 +2660,6 @@ ia_css_set_sdis_vertcoef_config(struct ia_css_isp_parameters *params,
        params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
        params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
        params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_sdis_vertcoef_config() leave: return_void\n");
 }
@@ -2793,10 +2703,6 @@ ia_css_set_sdis_horiproj_config(struct ia_css_isp_parameters *params,
        params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
        params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
        params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_sdis_horiproj_config() leave: return_void\n");
 }
@@ -2840,10 +2746,6 @@ ia_css_set_sdis_vertproj_config(struct ia_css_isp_parameters *params,
        params->config_changed[IA_CSS_SDIS_VERTCOEF_ID] = true;
        params->config_changed[IA_CSS_SDIS_HORIPROJ_ID] = true;
        params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_SDIS_VERTPROJ_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_sdis_vertproj_config() leave: return_void\n");
 }
@@ -2887,10 +2789,6 @@ ia_css_set_sdis2_horicoef_config(struct ia_css_isp_parameters *params,
        params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
        params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
        params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_SDIS2_HORICOEF_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_sdis2_horicoef_config() leave: return_void\n");
 }
@@ -2934,10 +2832,6 @@ ia_css_set_sdis2_vertcoef_config(struct ia_css_isp_parameters *params,
        params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
        params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
        params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_sdis2_vertcoef_config() leave: return_void\n");
 }
@@ -2981,10 +2875,6 @@ ia_css_set_sdis2_horiproj_config(struct ia_css_isp_parameters *params,
        params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
        params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
        params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_sdis2_horiproj_config() leave: return_void\n");
 }
@@ -3028,10 +2918,6 @@ ia_css_set_sdis2_vertproj_config(struct ia_css_isp_parameters *params,
        params->config_changed[IA_CSS_SDIS2_VERTCOEF_ID] = true;
        params->config_changed[IA_CSS_SDIS2_HORIPROJ_ID] = true;
        params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_SDIS2_VERTPROJ_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_sdis2_vertproj_config() leave: return_void\n");
 }
@@ -3071,10 +2957,6 @@ ia_css_set_r_gamma_config(struct ia_css_isp_parameters *params,
        ia_css_r_gamma_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->r_gamma_table = *config;
        params->config_changed[IA_CSS_R_GAMMA_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_R_GAMMA_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_r_gamma_config() leave: return_void\n");
 }
@@ -3114,10 +2996,6 @@ ia_css_set_g_gamma_config(struct ia_css_isp_parameters *params,
        ia_css_g_gamma_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->g_gamma_table = *config;
        params->config_changed[IA_CSS_G_GAMMA_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_G_GAMMA_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_g_gamma_config() leave: return_void\n");
 }
@@ -3157,10 +3035,6 @@ ia_css_set_b_gamma_config(struct ia_css_isp_parameters *params,
        ia_css_b_gamma_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->b_gamma_table = *config;
        params->config_changed[IA_CSS_B_GAMMA_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_B_GAMMA_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_b_gamma_config() leave: return_void\n");
 }
@@ -3201,10 +3075,6 @@ ia_css_set_xnr_table_config(struct ia_css_isp_parameters *params,
        ia_css_xnr_table_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->xnr_table = *config;
        params->config_changed[IA_CSS_XNR_TABLE_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_XNR_TABLE_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_xnr_table_config() leave: return_void\n");
 }
@@ -3244,10 +3114,6 @@ ia_css_set_formats_config(struct ia_css_isp_parameters *params,
        ia_css_formats_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->formats_config = *config;
        params->config_changed[IA_CSS_FORMATS_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_FORMATS_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_formats_config() leave: return_void\n");
 }
@@ -3287,10 +3153,6 @@ ia_css_set_xnr_config(struct ia_css_isp_parameters *params,
        ia_css_xnr_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->xnr_config = *config;
        params->config_changed[IA_CSS_XNR_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_XNR_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_xnr_config() leave: return_void\n");
 }
@@ -3330,10 +3192,6 @@ ia_css_set_xnr3_config(struct ia_css_isp_parameters *params,
        ia_css_xnr3_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->xnr3_config = *config;
        params->config_changed[IA_CSS_XNR3_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_XNR3_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_xnr3_config() leave: return_void\n");
 }
@@ -3374,10 +3232,6 @@ ia_css_set_s3a_config(struct ia_css_isp_parameters *params,
        params->s3a_config = *config;
        params->config_changed[IA_CSS_BH_ID] = true;
        params->config_changed[IA_CSS_S3A_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_S3A_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_s3a_config() leave: return_void\n");
 }
@@ -3417,10 +3271,6 @@ ia_css_set_output_config(struct ia_css_isp_parameters *params,
        ia_css_output_debug_dtrace(config, IA_CSS_DEBUG_TRACE);
        params->output_config = *config;
        params->config_changed[IA_CSS_OUTPUT_ID] = true;
-#ifndef ISP2401
-       params->config_changed[IA_CSS_OUTPUT_ID] = true;
-
-#endif
        ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE,
                            "ia_css_set_output_config() leave: return_void\n");
 }
index 4c44b89e47e9571ba0f5fc126fe233fb582ba96f..9d049399d0a9f8deb2b698795cb26ada9450da5f 100644 (file)
 
 #define _hrt_cell_load_program_sp(proc) _hrt_cell_load_program_embedded(proc, sp)
 
-#ifndef ISP2401
-/* function input_system_acquisition_stop: ADE */
-#else
 /* function input_system_acquisition_stop: AD8 */
-#endif
 
-#ifndef ISP2401
-/* function longjmp: 684E */
-#else
 /* function longjmp: 69C1 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_HIVE_IF_SRST_MASK
 #define HIVE_ADDR_sp_HIVE_IF_SRST_MASK 0x1C8
 #define HIVE_SIZE_sp_HIVE_IF_SRST_MASK 16
 
-#ifndef ISP2401
-/* function tmpmem_init_dmem: 6599 */
-#else
 /* function tmpmem_init_dmem: 66D4 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_receive_ack: 5EDD */
-#else
 /* function ia_css_isys_sp_token_map_receive_ack: 6018 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_set_addr_B: 3345 */
-#else
 /* function ia_css_dmaproxy_sp_set_addr_B: 3539 */
 
 /* function ia_css_pipe_data_init_tagger_resources: A4F */
-#endif
 
 /* function debug_buffer_set_ddr_addr: DD */
 
-#ifndef ISP2401
-/* function receiver_port_reg_load: AC2 */
-#else
 /* function receiver_port_reg_load: ABC */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_vbuf_mipi
 #define HIVE_MEM_vbuf_mipi scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_vbuf_mipi 0x631C
-#else
 #define HIVE_ADDR_vbuf_mipi 0x6378
-#endif
 #define HIVE_SIZE_vbuf_mipi 12
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_vbuf_mipi scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_vbuf_mipi 0x631C
-#else
 #define HIVE_ADDR_sp_vbuf_mipi 0x6378
-#endif
 #define HIVE_SIZE_sp_vbuf_mipi 12
 
-#ifndef ISP2401
-/* function ia_css_event_sp_decode: 3536 */
-#else
 /* function ia_css_event_sp_decode: 372A */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_queue_get_size: 48BE */
-#else
 /* function ia_css_queue_get_size: 4B46 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_queue_load: 4EFF */
-#else
 /* function ia_css_queue_load: 515D */
-#endif
 
-#ifndef ISP2401
-/* function setjmp: 6857 */
-#else
 /* function setjmp: 69CA */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_sp2host_isys_event_queue
 #define HIVE_MEM_sem_for_sp2host_isys_event_queue scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_sp2host_isys_event_queue 0x4684
-#else
 #define HIVE_ADDR_sem_for_sp2host_isys_event_queue 0x46CC
-#endif
 #define HIVE_SIZE_sem_for_sp2host_isys_event_queue 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_sp2host_isys_event_queue scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_sp2host_isys_event_queue 0x4684
-#else
 #define HIVE_ADDR_sp_sem_for_sp2host_isys_event_queue 0x46CC
-#endif
 #define HIVE_SIZE_sp_sem_for_sp2host_isys_event_queue 20
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_wait_for_ack: 6E07 */
-#else
 /* function ia_css_dmaproxy_sp_wait_for_ack: 6F4B */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_sp_rawcopy_func: 5124 */
-#else
 /* function ia_css_sp_rawcopy_func: 5382 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_pop_marked: 2A10 */
-#else
 /* function ia_css_tagger_buf_sp_pop_marked: 2BB2 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_isp_stage
 #define HIVE_MEM_isp_stage scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_isp_stage 0x5C00
-#else
 #define HIVE_ADDR_isp_stage 0x5C60
-#endif
 #define HIVE_SIZE_isp_stage 832
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_isp_stage scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_isp_stage 0x5C00
-#else
 #define HIVE_ADDR_sp_isp_stage 0x5C60
-#endif
 #define HIVE_SIZE_sp_isp_stage 832
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_vbuf_raw
 #define HIVE_MEM_vbuf_raw scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_vbuf_raw 0x2F4
-#else
 #define HIVE_ADDR_vbuf_raw 0x30C
-#endif
 #define HIVE_SIZE_vbuf_raw 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_vbuf_raw scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_vbuf_raw 0x2F4
-#else
 #define HIVE_ADDR_sp_vbuf_raw 0x30C
-#endif
 #define HIVE_SIZE_sp_vbuf_raw 4
 
-#ifndef ISP2401
-/* function ia_css_sp_bin_copy_func: 504B */
-#else
 /* function ia_css_sp_bin_copy_func: 52A9 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_queue_item_store: 4C4D */
-#else
 /* function ia_css_queue_item_store: 4EAB */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_pipe_private_metadata_bufs
 #define HIVE_MEM_ia_css_bufq_sp_pipe_private_metadata_bufs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_pipe_private_metadata_bufs 0x4AA0
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_pipe_private_metadata_bufs 0x4AFC
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_pipe_private_metadata_bufs 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_pipe_private_metadata_bufs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_metadata_bufs 0x4AA0
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_metadata_bufs 0x4AFC
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_pipe_private_metadata_bufs 20
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_pipe_private_buffer_bufs
 #define HIVE_MEM_ia_css_bufq_sp_pipe_private_buffer_bufs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_pipe_private_buffer_bufs 0x4AB4
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_pipe_private_buffer_bufs 0x4B10
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_pipe_private_buffer_bufs 160
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_pipe_private_buffer_bufs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_buffer_bufs 0x4AB4
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_buffer_bufs 0x4B10
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_pipe_private_buffer_bufs 160
 
 /* function sp_start_isp: 45D */
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_binary_group
 #define HIVE_MEM_sp_binary_group scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_binary_group 0x5FF0
-#else
 #define HIVE_ADDR_sp_binary_group 0x6050
-#endif
 #define HIVE_SIZE_sp_binary_group 32
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_binary_group scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_binary_group 0x5FF0
-#else
 #define HIVE_ADDR_sp_sp_binary_group 0x6050
-#endif
 #define HIVE_SIZE_sp_sp_binary_group 32
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_sw_state
 #define HIVE_MEM_sp_sw_state scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sw_state 0x62AC
-#else
 #define HIVE_ADDR_sp_sw_state 0x6308
-#endif
 #define HIVE_SIZE_sp_sw_state 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_sw_state scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_sw_state 0x62AC
-#else
 #define HIVE_ADDR_sp_sp_sw_state 0x6308
-#endif
 #define HIVE_SIZE_sp_sp_sw_state 4
 
-#ifndef ISP2401
-/* function ia_css_thread_sp_main: D5B */
-#else
 /* function ia_css_thread_sp_main: D50 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_init_internal_buffers: 373C */
-#else
 /* function ia_css_ispctrl_sp_init_internal_buffers: 396B */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp2host_psys_event_queue_handle
 #define HIVE_MEM_sp2host_psys_event_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp2host_psys_event_queue_handle 0x4B54
-#else
 #define HIVE_ADDR_sp2host_psys_event_queue_handle 0x4BB0
-#endif
 #define HIVE_SIZE_sp2host_psys_event_queue_handle 12
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp2host_psys_event_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp2host_psys_event_queue_handle 0x4B54
-#else
 #define HIVE_ADDR_sp_sp2host_psys_event_queue_handle 0x4BB0
-#endif
 #define HIVE_SIZE_sp_sp2host_psys_event_queue_handle 12
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_sp2host_psys_event_queue
 #define HIVE_MEM_sem_for_sp2host_psys_event_queue scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_sp2host_psys_event_queue 0x4698
-#else
 #define HIVE_ADDR_sem_for_sp2host_psys_event_queue 0x46E0
-#endif
 #define HIVE_SIZE_sem_for_sp2host_psys_event_queue 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_sp2host_psys_event_queue scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_sp2host_psys_event_queue 0x4698
-#else
 #define HIVE_ADDR_sp_sem_for_sp2host_psys_event_queue 0x46E0
-#endif
 #define HIVE_SIZE_sp_sem_for_sp2host_psys_event_queue 20
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_propagate_frame: 2429 */
-
-#ifndef HIVE_MULTIPLE_PROGRAMS
-#ifndef HIVE_MEM_sp_stop_copy_preview
-#define HIVE_MEM_sp_stop_copy_preview scalar_processor_2400_dmem
-#define HIVE_ADDR_sp_stop_copy_preview 0x6290
-#define HIVE_SIZE_sp_stop_copy_preview 4
-#else
-#endif
-#endif
-#define HIVE_MEM_sp_sp_stop_copy_preview scalar_processor_2400_dmem
-#define HIVE_ADDR_sp_sp_stop_copy_preview 0x6290
-#define HIVE_SIZE_sp_sp_stop_copy_preview 4
-#else
 /* function ia_css_tagger_sp_propagate_frame: 2479 */
-#endif
 
-#ifndef ISP2401
-/* function input_system_reg_load: B17 */
-#else
 /* function input_system_reg_load: B11 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_vbuf_handles
 #define HIVE_MEM_vbuf_handles scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_vbuf_handles 0x6328
-#else
 #define HIVE_ADDR_vbuf_handles 0x6384
-#endif
 #define HIVE_SIZE_vbuf_handles 960
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_vbuf_handles scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_vbuf_handles 0x6328
-#else
 #define HIVE_ADDR_sp_vbuf_handles 0x6384
-#endif
 #define HIVE_SIZE_sp_vbuf_handles 960
 
-#ifndef ISP2401
-/* function ia_css_queue_store: 4DB3 */
-
-/* function ia_css_sp_flash_register: 2C45 */
-#else
 /* function ia_css_queue_store: 5011 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_sp_rawcopy_dummy_function: 566B */
-#else
 /* function ia_css_sp_flash_register: 2DE7 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_create: 5B50 */
-#else
 /* function ia_css_isys_sp_backend_create: 5C8B */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_pipeline_sp_init: 184C */
-#else
 /* function ia_css_pipeline_sp_init: 1886 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_configure: 2319 */
-#else
 /* function ia_css_tagger_sp_configure: 2369 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_end_binary: 357F */
-#else
 /* function ia_css_ispctrl_sp_end_binary: 3773 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_h_pipe_private_per_frame_ddr_ptrs
 #define HIVE_MEM_ia_css_bufq_sp_h_pipe_private_per_frame_ddr_ptrs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_h_pipe_private_per_frame_ddr_ptrs 0x4B60
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_h_pipe_private_per_frame_ddr_ptrs 0x4BBC
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_h_pipe_private_per_frame_ddr_ptrs 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_h_pipe_private_per_frame_ddr_ptrs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_h_pipe_private_per_frame_ddr_ptrs 0x4B60
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_h_pipe_private_per_frame_ddr_ptrs 0x4BBC
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_h_pipe_private_per_frame_ddr_ptrs 20
 
-#ifndef ISP2401
-/* function receiver_port_reg_store: AC9 */
-#else
 /* function receiver_port_reg_store: AC3 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_event_is_pending_mask
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_all_cb_elems_frame
 #define HIVE_MEM_sp_all_cb_elems_frame scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_all_cb_elems_frame 0x46AC
-#else
 #define HIVE_ADDR_sp_all_cb_elems_frame 0x46F4
-#endif
 #define HIVE_SIZE_sp_all_cb_elems_frame 16
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_all_cb_elems_frame scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_all_cb_elems_frame 0x46AC
-#else
 #define HIVE_ADDR_sp_sp_all_cb_elems_frame 0x46F4
-#endif
 #define HIVE_SIZE_sp_sp_all_cb_elems_frame 16
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp2host_isys_event_queue_handle
 #define HIVE_MEM_sp2host_isys_event_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp2host_isys_event_queue_handle 0x4B74
-#else
 #define HIVE_ADDR_sp2host_isys_event_queue_handle 0x4BD0
-#endif
 #define HIVE_SIZE_sp2host_isys_event_queue_handle 12
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp2host_isys_event_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp2host_isys_event_queue_handle 0x4B74
-#else
 #define HIVE_ADDR_sp_sp2host_isys_event_queue_handle 0x4BD0
-#endif
 #define HIVE_SIZE_sp_sp2host_isys_event_queue_handle 12
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_host_sp_com
 #define HIVE_MEM_host_sp_com scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_host_sp_com 0x4114
-#else
 #define HIVE_ADDR_host_sp_com 0x4134
-#endif
 #define HIVE_SIZE_host_sp_com 220
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_host_sp_com scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_host_sp_com 0x4114
-#else
 #define HIVE_ADDR_sp_host_sp_com 0x4134
-#endif
 #define HIVE_SIZE_sp_host_sp_com 220
 
-#ifndef ISP2401
-/* function ia_css_queue_get_free_space: 4A12 */
-#else
 /* function ia_css_queue_get_free_space: 4C70 */
-#endif
 
-#ifndef ISP2401
-/* function exec_image_pipe: 6C4 */
-#else
 /* function exec_image_pipe: 658 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_init_dmem_data
 #define HIVE_MEM_sp_init_dmem_data scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_init_dmem_data 0x62B0
-#else
 #define HIVE_ADDR_sp_init_dmem_data 0x630C
-#endif
 #define HIVE_SIZE_sp_init_dmem_data 24
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_init_dmem_data scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_init_dmem_data 0x62B0
-#else
 #define HIVE_ADDR_sp_sp_init_dmem_data 0x630C
-#endif
 #define HIVE_SIZE_sp_sp_init_dmem_data 24
 
-#ifndef ISP2401
-/* function ia_css_sp_metadata_start: 592D */
-#else
 /* function ia_css_sp_metadata_start: 5A68 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_bufq_sp_init_buffer_queues: 2CB4 */
-#else
 /* function ia_css_bufq_sp_init_buffer_queues: 2E56 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_pipeline_sp_stop: 182F */
-#else
 /* function ia_css_pipeline_sp_stop: 1869 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_connect_pipes: 2803 */
-#else
 /* function ia_css_tagger_sp_connect_pipes: 2853 */
-#endif
 
-#ifndef ISP2401
-/* function sp_isys_copy_wait: 70D */
-#else
 /* function sp_isys_copy_wait: 6A1 */
-#endif
 
 /* function is_isp_debug_buffer_full: 337 */
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_configure_channel_from_info: 32C8 */
-#else
 /* function ia_css_dmaproxy_sp_configure_channel_from_info: 34A9 */
-#endif
 
-#ifndef ISP2401
-/* function encode_and_post_timer_event: A30 */
-#else
 /* function encode_and_post_timer_event: 9C4 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_per_frame_data
 #define HIVE_MEM_sp_per_frame_data scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_per_frame_data 0x41F0
-#else
 #define HIVE_ADDR_sp_per_frame_data 0x4210
-#endif
 #define HIVE_SIZE_sp_per_frame_data 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_per_frame_data scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_per_frame_data 0x41F0
-#else
 #define HIVE_ADDR_sp_sp_per_frame_data 0x4210
-#endif
 #define HIVE_SIZE_sp_sp_per_frame_data 4
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_vbuf_dequeue: 62ED */
-#else
 /* function ia_css_rmgr_sp_vbuf_dequeue: 6428 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_host2sp_psys_event_queue_handle
 #define HIVE_MEM_host2sp_psys_event_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_host2sp_psys_event_queue_handle 0x4B80
-#else
 #define HIVE_ADDR_host2sp_psys_event_queue_handle 0x4BDC
-#endif
 #define HIVE_SIZE_host2sp_psys_event_queue_handle 12
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_host2sp_psys_event_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_host2sp_psys_event_queue_handle 0x4B80
-#else
 #define HIVE_ADDR_sp_host2sp_psys_event_queue_handle 0x4BDC
-#endif
 #define HIVE_SIZE_sp_host2sp_psys_event_queue_handle 12
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_xmem_bin_addr
 #define HIVE_MEM_xmem_bin_addr scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_xmem_bin_addr 0x41F4
-#else
 #define HIVE_ADDR_xmem_bin_addr 0x4214
-#endif
 #define HIVE_SIZE_xmem_bin_addr 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_xmem_bin_addr scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_xmem_bin_addr 0x41F4
-#else
 #define HIVE_ADDR_sp_xmem_bin_addr 0x4214
-#endif
 #define HIVE_SIZE_sp_xmem_bin_addr 4
 
-#ifndef ISP2401
-/* function tmr_clock_init: 13FB */
-#else
 /* function tmr_clock_init: 141C */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_pipeline_sp_run: 141C */
-#else
 /* function ia_css_pipeline_sp_run: 143D */
-#endif
 
-#ifndef ISP2401
-/* function memcpy: 68F7 */
-#else
 /* function memcpy: 6A6A */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_GP_DEVICE_BASE
 #define HIVE_MEM_GP_DEVICE_BASE scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_GP_DEVICE_BASE 0x2FC
-#else
 #define HIVE_ADDR_GP_DEVICE_BASE 0x314
-#endif
 #define HIVE_SIZE_GP_DEVICE_BASE 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_GP_DEVICE_BASE scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_GP_DEVICE_BASE 0x2FC
-#else
 #define HIVE_ADDR_sp_GP_DEVICE_BASE 0x314
-#endif
 #define HIVE_SIZE_sp_GP_DEVICE_BASE 4
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_thread_sp_ready_queue
 #define HIVE_MEM_ia_css_thread_sp_ready_queue scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_thread_sp_ready_queue 0x1E0
-#else
 #define HIVE_ADDR_ia_css_thread_sp_ready_queue 0x1E4
-#endif
 #define HIVE_SIZE_ia_css_thread_sp_ready_queue 12
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_thread_sp_ready_queue scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_thread_sp_ready_queue 0x1E0
-#else
 #define HIVE_ADDR_sp_ia_css_thread_sp_ready_queue 0x1E4
-#endif
 #define HIVE_SIZE_sp_ia_css_thread_sp_ready_queue 12
 
-#ifndef ISP2401
-/* function input_system_reg_store: B1E */
-#else
 /* function input_system_reg_store: B18 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_frontend_start: 5D66 */
-#else
 /* function ia_css_isys_sp_frontend_start: 5EA1 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_uds_sp_scale_params: 6600 */
-#else
 /* function ia_css_uds_sp_scale_params: 6773 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_circbuf_increase_size: E40 */
-#else
 /* function ia_css_circbuf_increase_size: E35 */
-#endif
 
-#ifndef ISP2401
-/* function __divu: 6875 */
-#else
 /* function __divu: 69E8 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_thread_sp_get_state: C83 */
-#else
 /* function ia_css_thread_sp_get_state: C78 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_cont_capt_stop
 #define HIVE_MEM_sem_for_cont_capt_stop scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_cont_capt_stop 0x46BC
-#else
 #define HIVE_ADDR_sem_for_cont_capt_stop 0x4704
-#endif
 #define HIVE_SIZE_sem_for_cont_capt_stop 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_cont_capt_stop scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_cont_capt_stop 0x46BC
-#else
 #define HIVE_ADDR_sp_sem_for_cont_capt_stop 0x4704
-#endif
 #define HIVE_SIZE_sp_sem_for_cont_capt_stop 20
 
-#ifndef ISP2401
-/* function thread_fiber_sp_main: E39 */
-#else
 /* function thread_fiber_sp_main: E2E */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_isp_pipe_thread
 #define HIVE_MEM_sp_isp_pipe_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_isp_pipe_thread 0x4800
-#define HIVE_SIZE_sp_isp_pipe_thread 340
-#else
 #define HIVE_ADDR_sp_isp_pipe_thread 0x4848
 #define HIVE_SIZE_sp_isp_pipe_thread 360
-#endif
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_isp_pipe_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_isp_pipe_thread 0x4800
-#define HIVE_SIZE_sp_sp_isp_pipe_thread 340
-#else
 #define HIVE_ADDR_sp_sp_isp_pipe_thread 0x4848
 #define HIVE_SIZE_sp_sp_isp_pipe_thread 360
-#endif
 
-#ifndef ISP2401
-/* function ia_css_parambuf_sp_handle_parameter_sets: 128A */
-#else
 /* function ia_css_parambuf_sp_handle_parameter_sets: 127F */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_spctrl_sp_set_state: 595C */
-#else
 /* function ia_css_spctrl_sp_set_state: 5A97 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_thread_sem_sp_signal: 6AF7 */
-#else
 /* function ia_css_thread_sem_sp_signal: 6C6C */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_IRQ_BASE
 #define HIVE_ADDR_sp_TIMED_CTRL_BASE 0x40
 #define HIVE_SIZE_sp_TIMED_CTRL_BASE 4
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_isr: 6FDC */
-
-/* function ia_css_isys_sp_generate_exp_id: 60FE */
-#else
 /* function ia_css_isys_sp_isr: 7139 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_init: 61E8 */
-#else
 /* function ia_css_isys_sp_generate_exp_id: 6239 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_thread_sem_sp_init: 6BC8 */
-#else
 /* function ia_css_rmgr_sp_init: 6323 */
-#endif
 
-#ifndef ISP2401
-#ifndef HIVE_MULTIPLE_PROGRAMS
-#ifndef HIVE_MEM_is_isp_requested
-#define HIVE_MEM_is_isp_requested scalar_processor_2400_dmem
-#define HIVE_ADDR_is_isp_requested 0x308
-#define HIVE_SIZE_is_isp_requested 4
-#else
-#endif
-#endif
-#define HIVE_MEM_sp_is_isp_requested scalar_processor_2400_dmem
-#define HIVE_ADDR_sp_is_isp_requested 0x308
-#define HIVE_SIZE_sp_is_isp_requested 4
-#else
 /* function ia_css_thread_sem_sp_init: 6D3B */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_reading_cb_frame
 #define HIVE_MEM_sem_for_reading_cb_frame scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_reading_cb_frame 0x46D0
-#else
 #define HIVE_ADDR_sem_for_reading_cb_frame 0x4718
-#endif
 #define HIVE_SIZE_sem_for_reading_cb_frame 40
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_reading_cb_frame scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_reading_cb_frame 0x46D0
-#else
 #define HIVE_ADDR_sp_sem_for_reading_cb_frame 0x4718
-#endif
 #define HIVE_SIZE_sp_sem_for_reading_cb_frame 40
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_execute: 3230 */
-#else
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_is_isp_requested
 #define HIVE_MEM_is_isp_requested scalar_processor_2400_dmem
 #define HIVE_SIZE_sp_is_isp_requested 4
 
 /* function ia_css_dmaproxy_sp_execute: 340F */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_queue_is_empty: 48F9 */
-#else
 /* function ia_css_queue_is_empty: 7098 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_pipeline_sp_has_stopped: 1825 */
-#else
 /* function ia_css_pipeline_sp_has_stopped: 185F */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_circbuf_extract: F44 */
-#else
 /* function ia_css_circbuf_extract: F39 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_is_locked_from_start: 2B26 */
-#else
 /* function ia_css_tagger_buf_sp_is_locked_from_start: 2CC8 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_current_sp_thread
 #define HIVE_ADDR_sp_current_sp_thread 0x1DC
 #define HIVE_SIZE_sp_current_sp_thread 4
 
-#ifndef ISP2401
-/* function ia_css_spctrl_sp_get_spid: 5963 */
-#else
 /* function ia_css_spctrl_sp_get_spid: 5A9E */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_bufq_sp_reset_buffers: 2D3B */
-#else
 /* function ia_css_bufq_sp_reset_buffers: 2EDD */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_read_byte_addr: 6E35 */
-#else
 /* function ia_css_dmaproxy_sp_read_byte_addr: 6F79 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_uninit: 61E1 */
-#else
 /* function ia_css_rmgr_sp_uninit: 631C */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_threads_stack
 #define HIVE_ADDR_sp_sp_threads_stack 0x164
 #define HIVE_SIZE_sp_sp_threads_stack 28
 
-#ifndef ISP2401
-/* function ia_css_circbuf_peek: F26 */
-#else
 /* function ia_css_circbuf_peek: F1B */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_parambuf_sp_wait_for_in_param: 1053 */
-#else
 /* function ia_css_parambuf_sp_wait_for_in_param: 1048 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_get_exp_id: 5FC6 */
-#else
 /* function ia_css_isys_sp_token_map_get_exp_id: 6101 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_all_cb_elems_param
 #define HIVE_MEM_sp_all_cb_elems_param scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_all_cb_elems_param 0x46F8
-#else
 #define HIVE_ADDR_sp_all_cb_elems_param 0x4740
-#endif
 #define HIVE_SIZE_sp_all_cb_elems_param 16
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_all_cb_elems_param scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_all_cb_elems_param 0x46F8
-#else
 #define HIVE_ADDR_sp_sp_all_cb_elems_param 0x4740
-#endif
 #define HIVE_SIZE_sp_sp_all_cb_elems_param 16
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_pipeline_sp_curr_binary_id
 #define HIVE_MEM_pipeline_sp_curr_binary_id scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_pipeline_sp_curr_binary_id 0x1EC
-#else
 #define HIVE_ADDR_pipeline_sp_curr_binary_id 0x1F0
-#endif
 #define HIVE_SIZE_pipeline_sp_curr_binary_id 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_pipeline_sp_curr_binary_id scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_pipeline_sp_curr_binary_id 0x1EC
-#else
 #define HIVE_ADDR_sp_pipeline_sp_curr_binary_id 0x1F0
-#endif
 #define HIVE_SIZE_sp_pipeline_sp_curr_binary_id 4
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_all_cbs_frame_desc
 #define HIVE_MEM_sp_all_cbs_frame_desc scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_all_cbs_frame_desc 0x4708
-#else
 #define HIVE_ADDR_sp_all_cbs_frame_desc 0x4750
-#endif
 #define HIVE_SIZE_sp_all_cbs_frame_desc 8
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_all_cbs_frame_desc scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_all_cbs_frame_desc 0x4708
-#else
 #define HIVE_ADDR_sp_sp_all_cbs_frame_desc 0x4750
-#endif
 #define HIVE_SIZE_sp_sp_all_cbs_frame_desc 8
 
-#ifndef ISP2401
-/* function sp_isys_copy_func_v2: 706 */
-#else
 /* function sp_isys_copy_func_v2: 69A */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_reading_cb_param
 #define HIVE_MEM_sem_for_reading_cb_param scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_reading_cb_param 0x4710
-#else
 #define HIVE_ADDR_sem_for_reading_cb_param 0x4758
-#endif
 #define HIVE_SIZE_sem_for_reading_cb_param 40
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_reading_cb_param scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_reading_cb_param 0x4710
-#else
 #define HIVE_ADDR_sp_sem_for_reading_cb_param 0x4758
-#endif
 #define HIVE_SIZE_sp_sem_for_reading_cb_param 40
 
-#ifndef ISP2401
-/* function ia_css_queue_get_used_space: 49C6 */
-#else
 /* function ia_css_queue_get_used_space: 4C24 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_cont_capt_start
 #define HIVE_MEM_sem_for_cont_capt_start scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_cont_capt_start 0x4738
-#else
 #define HIVE_ADDR_sem_for_cont_capt_start 0x4780
-#endif
 #define HIVE_SIZE_sem_for_cont_capt_start 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_cont_capt_start scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_cont_capt_start 0x4738
-#else
 #define HIVE_ADDR_sp_sem_for_cont_capt_start 0x4780
-#endif
 #define HIVE_SIZE_sp_sem_for_cont_capt_start 20
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_tmp_heap
 #define HIVE_MEM_tmp_heap scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_tmp_heap 0x6010
-#else
 #define HIVE_ADDR_tmp_heap 0x6070
-#endif
 #define HIVE_SIZE_tmp_heap 640
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_tmp_heap scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_tmp_heap 0x6010
-#else
 #define HIVE_ADDR_sp_tmp_heap 0x6070
-#endif
 #define HIVE_SIZE_sp_tmp_heap 640
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_get_num_vbuf: 64F1 */
-#else
 /* function ia_css_rmgr_sp_get_num_vbuf: 662C */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_output_compute_dma_info: 3F62 */
-#else
 /* function ia_css_ispctrl_sp_output_compute_dma_info: 41A5 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_lock_exp_id: 20E6 */
-#else
 /* function ia_css_tagger_sp_lock_exp_id: 2136 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_pipe_private_s3a_bufs
 #define HIVE_MEM_ia_css_bufq_sp_pipe_private_s3a_bufs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_pipe_private_s3a_bufs 0x4B8C
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_pipe_private_s3a_bufs 0x4BE8
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_pipe_private_s3a_bufs 60
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_pipe_private_s3a_bufs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_s3a_bufs 0x4B8C
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_s3a_bufs 0x4BE8
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_pipe_private_s3a_bufs 60
 
-#ifndef ISP2401
-/* function ia_css_queue_is_full: 4A5D */
-#else
 /* function ia_css_queue_is_full: 4CBB */
-#endif
 
 /* function debug_buffer_init_isp: E4 */
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_frontend_uninit: 5D20 */
-#else
 /* function ia_css_isys_sp_frontend_uninit: 5E5B */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_exp_id_is_locked: 201C */
-#else
 /* function ia_css_tagger_sp_exp_id_is_locked: 206C */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_rmgr_sp_mipi_frame_sem
 #define HIVE_MEM_ia_css_rmgr_sp_mipi_frame_sem scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_rmgr_sp_mipi_frame_sem 0x66E8
-#else
 #define HIVE_ADDR_ia_css_rmgr_sp_mipi_frame_sem 0x6744
-#endif
 #define HIVE_SIZE_ia_css_rmgr_sp_mipi_frame_sem 60
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_rmgr_sp_mipi_frame_sem scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_rmgr_sp_mipi_frame_sem 0x66E8
-#else
 #define HIVE_ADDR_sp_ia_css_rmgr_sp_mipi_frame_sem 0x6744
-#endif
 #define HIVE_SIZE_sp_ia_css_rmgr_sp_mipi_frame_sem 60
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_refcount_dump: 62C8 */
-#else
 /* function ia_css_rmgr_sp_refcount_dump: 6403 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_pipe_private_isp_parameters_id
 #define HIVE_MEM_ia_css_bufq_sp_pipe_private_isp_parameters_id scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_pipe_private_isp_parameters_id 0x4BC8
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_pipe_private_isp_parameters_id 0x4C24
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_pipe_private_isp_parameters_id 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_pipe_private_isp_parameters_id scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_isp_parameters_id 0x4BC8
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_isp_parameters_id 0x4C24
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_pipe_private_isp_parameters_id 20
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #define HIVE_ADDR_sp_sp_pipe_threads 0x150
 #define HIVE_SIZE_sp_sp_pipe_threads 20
 
-#ifndef ISP2401
-/* function sp_event_proxy_func: 71B */
-#else
 /* function sp_event_proxy_func: 6AF */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_host2sp_isys_event_queue_handle
 #define HIVE_MEM_host2sp_isys_event_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_host2sp_isys_event_queue_handle 0x4BDC
-#else
 #define HIVE_ADDR_host2sp_isys_event_queue_handle 0x4C38
-#endif
 #define HIVE_SIZE_host2sp_isys_event_queue_handle 12
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_host2sp_isys_event_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_host2sp_isys_event_queue_handle 0x4BDC
-#else
 #define HIVE_ADDR_sp_host2sp_isys_event_queue_handle 0x4C38
-#endif
 #define HIVE_SIZE_sp_host2sp_isys_event_queue_handle 12
 
-#ifndef ISP2401
-/* function ia_css_thread_sp_yield: 6A70 */
-#else
 /* function ia_css_thread_sp_yield: 6BEA */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_all_cbs_param_desc
 #define HIVE_MEM_sp_all_cbs_param_desc scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_all_cbs_param_desc 0x474C
-#else
 #define HIVE_ADDR_sp_all_cbs_param_desc 0x4794
-#endif
 #define HIVE_SIZE_sp_all_cbs_param_desc 8
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_all_cbs_param_desc scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_all_cbs_param_desc 0x474C
-#else
 #define HIVE_ADDR_sp_sp_all_cbs_param_desc 0x4794
-#endif
 #define HIVE_SIZE_sp_sp_all_cbs_param_desc 8
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_dmaproxy_sp_invalidate_tlb
 #define HIVE_MEM_ia_css_dmaproxy_sp_invalidate_tlb scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_dmaproxy_sp_invalidate_tlb 0x5BF4
-#else
 #define HIVE_ADDR_ia_css_dmaproxy_sp_invalidate_tlb 0x5C50
-#endif
 #define HIVE_SIZE_ia_css_dmaproxy_sp_invalidate_tlb 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_dmaproxy_sp_invalidate_tlb scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_dmaproxy_sp_invalidate_tlb 0x5BF4
-#else
 #define HIVE_ADDR_sp_ia_css_dmaproxy_sp_invalidate_tlb 0x5C50
-#endif
 #define HIVE_SIZE_sp_ia_css_dmaproxy_sp_invalidate_tlb 4
 
-#ifndef ISP2401
-/* function ia_css_thread_sp_fork: D10 */
-#else
 /* function ia_css_thread_sp_fork: D05 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_destroy: 280D */
-#else
 /* function ia_css_tagger_sp_destroy: 285D */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_vmem_read: 31D0 */
-#else
 /* function ia_css_dmaproxy_sp_vmem_read: 33AF */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ifmtr_sp_init: 614F */
-#else
 /* function ia_css_ifmtr_sp_init: 628A */
-#endif
 
-#ifndef ISP2401
-/* function initialize_sp_group: 6D4 */
-#else
 /* function initialize_sp_group: 668 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_peek: 2932 */
-#else
 /* function ia_css_tagger_buf_sp_peek: 2AD4 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_thread_sp_init: D3C */
-#else
 /* function ia_css_thread_sp_init: D31 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_reset_exp_id: 60F6 */
-#else
 /* function ia_css_isys_sp_reset_exp_id: 6231 */
-#endif
 
-#ifndef ISP2401
-/* function qos_scheduler_update_fps: 65F0 */
-#else
 /* function qos_scheduler_update_fps: 6763 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_set_stream_base_addr: 4637 */
-#else
 /* function ia_css_ispctrl_sp_set_stream_base_addr: 4892 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ISP_DMEM_BASE
 #define HIVE_ADDR_sp_SP_DMEM_BASE 0x4
 #define HIVE_SIZE_sp_SP_DMEM_BASE 4
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_read: 3246 */
-#else
 /* function __ia_css_queue_is_empty_text: 4B81 */
 
 /* function ia_css_dmaproxy_sp_read: 3425 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_raw_copy_line_count
 #define HIVE_MEM_raw_copy_line_count scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_raw_copy_line_count 0x2C8
-#else
 #define HIVE_ADDR_raw_copy_line_count 0x2E0
-#endif
 #define HIVE_SIZE_raw_copy_line_count 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_raw_copy_line_count scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_raw_copy_line_count 0x2C8
-#else
 #define HIVE_ADDR_sp_raw_copy_line_count 0x2E0
-#endif
 #define HIVE_SIZE_sp_raw_copy_line_count 4
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_host2sp_tag_cmd_queue_handle
 #define HIVE_MEM_host2sp_tag_cmd_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_host2sp_tag_cmd_queue_handle 0x4BE8
-#else
 #define HIVE_ADDR_host2sp_tag_cmd_queue_handle 0x4C44
-#endif
 #define HIVE_SIZE_host2sp_tag_cmd_queue_handle 12
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_host2sp_tag_cmd_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_host2sp_tag_cmd_queue_handle 0x4BE8
-#else
 #define HIVE_ADDR_sp_host2sp_tag_cmd_queue_handle 0x4C44
-#endif
 #define HIVE_SIZE_sp_host2sp_tag_cmd_queue_handle 12
 
-#ifndef ISP2401
-/* function ia_css_queue_peek: 493C */
-#else
 /* function ia_css_queue_peek: 4B9A */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_flash_sp_frame_cnt
 #define HIVE_MEM_ia_css_flash_sp_frame_cnt scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_flash_sp_frame_cnt 0x4A94
-#else
 #define HIVE_ADDR_ia_css_flash_sp_frame_cnt 0x4AF0
-#endif
 #define HIVE_SIZE_ia_css_flash_sp_frame_cnt 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_flash_sp_frame_cnt scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_flash_sp_frame_cnt 0x4A94
-#else
 #define HIVE_ADDR_sp_ia_css_flash_sp_frame_cnt 0x4AF0
-#endif
 #define HIVE_SIZE_sp_ia_css_flash_sp_frame_cnt 4
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_isp_thread
 #define HIVE_MEM_isp_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_isp_thread 0x5F40
-#else
 #define HIVE_ADDR_isp_thread 0x5FA0
-#endif
 #define HIVE_SIZE_isp_thread 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_isp_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_isp_thread 0x5F40
-#else
 #define HIVE_ADDR_sp_isp_thread 0x5FA0
-#endif
 #define HIVE_SIZE_sp_isp_thread 4
 
-#ifndef ISP2401
-/* function encode_and_post_sp_event_non_blocking: A78 */
-#else
 /* function encode_and_post_sp_event_non_blocking: A0C */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_frontend_destroy: 5DF8 */
-#else
 /* function ia_css_isys_sp_frontend_destroy: 5F33 */
-#endif
 
 /* function is_ddr_debug_buffer_full: 2CC */
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_frontend_stop: 5D38 */
-#else
 /* function ia_css_isys_sp_frontend_stop: 5E73 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_init: 6094 */
-#else
 /* function ia_css_isys_sp_token_map_init: 61CF */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_get_oldest_marked_offset: 2982 */
-#else
 /* function ia_css_tagger_buf_sp_get_oldest_marked_offset: 2B24 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_threads_fiber
 #define HIVE_ADDR_sp_sp_threads_fiber 0x19C
 #define HIVE_SIZE_sp_sp_threads_fiber 28
 
-#ifndef ISP2401
-/* function encode_and_post_sp_event: A01 */
-#else
 /* function encode_and_post_sp_event: 995 */
-#endif
 
 /* function debug_enqueue_ddr: EE */
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_refcount_init_vbuf: 6283 */
-#else
 /* function ia_css_rmgr_sp_refcount_init_vbuf: 63BE */
-#endif
 
-#ifndef ISP2401
-/* function dmaproxy_sp_read_write: 6EE4 */
-#else
 /* function dmaproxy_sp_read_write: 7017 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_dmaproxy_isp_dma_cmd_buffer
 #define HIVE_MEM_ia_css_dmaproxy_isp_dma_cmd_buffer scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_dmaproxy_isp_dma_cmd_buffer 0x5BF8
-#else
 #define HIVE_ADDR_ia_css_dmaproxy_isp_dma_cmd_buffer 0x5C54
-#endif
 #define HIVE_SIZE_ia_css_dmaproxy_isp_dma_cmd_buffer 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_dmaproxy_isp_dma_cmd_buffer scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_dmaproxy_isp_dma_cmd_buffer 0x5BF8
-#else
 #define HIVE_ADDR_sp_ia_css_dmaproxy_isp_dma_cmd_buffer 0x5C54
-#endif
 #define HIVE_SIZE_sp_ia_css_dmaproxy_isp_dma_cmd_buffer 4
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_host2sp_buffer_queue_handle
 #define HIVE_MEM_host2sp_buffer_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_host2sp_buffer_queue_handle 0x4BF4
-#else
 #define HIVE_ADDR_host2sp_buffer_queue_handle 0x4C50
-#endif
 #define HIVE_SIZE_host2sp_buffer_queue_handle 480
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_host2sp_buffer_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_host2sp_buffer_queue_handle 0x4BF4
-#else
 #define HIVE_ADDR_sp_host2sp_buffer_queue_handle 0x4C50
-#endif
 #define HIVE_SIZE_sp_host2sp_buffer_queue_handle 480
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_flash_sp_in_service
 #define HIVE_MEM_ia_css_flash_sp_in_service scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_flash_sp_in_service 0x3178
-#else
 #define HIVE_ADDR_ia_css_flash_sp_in_service 0x3198
-#endif
 #define HIVE_SIZE_ia_css_flash_sp_in_service 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_flash_sp_in_service scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_flash_sp_in_service 0x3178
-#else
 #define HIVE_ADDR_sp_ia_css_flash_sp_in_service 0x3198
-#endif
 #define HIVE_SIZE_sp_ia_css_flash_sp_in_service 4
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_process: 6BF0 */
-#else
 /* function ia_css_dmaproxy_sp_process: 6D63 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_mark_from_end: 2C0A */
-#else
 /* function ia_css_tagger_buf_sp_mark_from_end: 2DAC */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_rcv_acquire_ack: 5A05 */
-#else
 /* function ia_css_isys_sp_backend_rcv_acquire_ack: 5B40 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_pre_acquire_request: 5A1B */
-#else
 /* function ia_css_isys_sp_backend_pre_acquire_request: 5B56 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_init_cs: 366C */
-#else
 /* function ia_css_ispctrl_sp_init_cs: 386E */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_spctrl_sp_init: 5971 */
-#else
 /* function ia_css_spctrl_sp_init: 5AAC */
-#endif
 
-#ifndef ISP2401
-/* function sp_event_proxy_init: 730 */
-#else
 /* function sp_event_proxy_init: 6C4 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_pipe_private_previous_clock_tick
 #define HIVE_MEM_ia_css_bufq_sp_pipe_private_previous_clock_tick scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_pipe_private_previous_clock_tick 0x4DD4
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_pipe_private_previous_clock_tick 0x4E30
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_pipe_private_previous_clock_tick 40
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_pipe_private_previous_clock_tick scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_previous_clock_tick 0x4DD4
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_previous_clock_tick 0x4E30
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_pipe_private_previous_clock_tick 40
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_output
 #define HIVE_MEM_sp_output scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_output 0x41F8
-#else
 #define HIVE_ADDR_sp_output 0x4218
-#endif
 #define HIVE_SIZE_sp_output 16
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_output scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_output 0x41F8
-#else
 #define HIVE_ADDR_sp_sp_output 0x4218
-#endif
 #define HIVE_SIZE_sp_sp_output 16
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_sems_for_host2sp_buf_queues
 #define HIVE_MEM_ia_css_bufq_sp_sems_for_host2sp_buf_queues scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_sems_for_host2sp_buf_queues 0x4DFC
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_sems_for_host2sp_buf_queues 0x4E58
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_sems_for_host2sp_buf_queues 800
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_sems_for_host2sp_buf_queues scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_sems_for_host2sp_buf_queues 0x4DFC
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_sems_for_host2sp_buf_queues 0x4E58
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_sems_for_host2sp_buf_queues 800
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #define HIVE_ADDR_sp_INPUT_FORMATTER_BASE 0x4C
 #define HIVE_SIZE_sp_INPUT_FORMATTER_BASE 16
 
-#ifndef ISP2401
-/* function sp_dma_proxy_reset_channels: 34A0 */
-#else
 /* function sp_dma_proxy_reset_channels: 3694 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_acquire: 5B26 */
-#else
 /* function ia_css_isys_sp_backend_acquire: 5C61 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_update_size: 2901 */
-#else
 /* function ia_css_tagger_sp_update_size: 2AA3 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_host_sp_queue
 #define HIVE_MEM_ia_css_bufq_host_sp_queue scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_host_sp_queue 0x511C
-#else
 #define HIVE_ADDR_ia_css_bufq_host_sp_queue 0x5178
-#endif
 #define HIVE_SIZE_ia_css_bufq_host_sp_queue 2008
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_host_sp_queue scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_host_sp_queue 0x511C
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_host_sp_queue 0x5178
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_host_sp_queue 2008
 
-#ifndef ISP2401
-/* function thread_fiber_sp_create: DA8 */
-#else
 /* function thread_fiber_sp_create: D9D */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_set_increments: 3332 */
-#else
 /* function ia_css_dmaproxy_sp_set_increments: 3526 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_writing_cb_frame
 #define HIVE_MEM_sem_for_writing_cb_frame scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_writing_cb_frame 0x4754
-#else
 #define HIVE_ADDR_sem_for_writing_cb_frame 0x479C
-#endif
 #define HIVE_SIZE_sem_for_writing_cb_frame 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_writing_cb_frame scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_writing_cb_frame 0x4754
-#else
 #define HIVE_ADDR_sp_sem_for_writing_cb_frame 0x479C
-#endif
 #define HIVE_SIZE_sp_sem_for_writing_cb_frame 20
 
-#ifndef ISP2401
-/* function receiver_reg_store: AD7 */
-#else
 /* function receiver_reg_store: AD1 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_writing_cb_param
 #define HIVE_MEM_sem_for_writing_cb_param scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_writing_cb_param 0x4768
-#else
 #define HIVE_ADDR_sem_for_writing_cb_param 0x47B0
-#endif
 #define HIVE_SIZE_sem_for_writing_cb_param 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_writing_cb_param scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_writing_cb_param 0x4768
-#else
 #define HIVE_ADDR_sp_sem_for_writing_cb_param 0x47B0
-#endif
 #define HIVE_SIZE_sp_sem_for_writing_cb_param 20
 
 /* function sp_start_isp_entry: 453 */
 #endif
 #define HIVE_ADDR_sp_sp_start_isp_entry 0x453
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_unmark_all: 2B8E */
-#else
 /* function ia_css_tagger_buf_sp_unmark_all: 2D30 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_unmark_from_start: 2BCF */
-#else
 /* function ia_css_tagger_buf_sp_unmark_from_start: 2D71 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_channel_acquire: 34CC */
-#else
 /* function ia_css_dmaproxy_sp_channel_acquire: 36C0 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_add_num_vbuf: 64CD */
-#else
 /* function ia_css_rmgr_sp_add_num_vbuf: 6608 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_create: 60DD */
-#else
 /* function ia_css_isys_sp_token_map_create: 6218 */
-#endif
 
-#ifndef ISP2401
-/* function __ia_css_dmaproxy_sp_wait_for_ack_text: 319C */
-#else
 /* function __ia_css_dmaproxy_sp_wait_for_ack_text: 337B */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_acquire_buf_elem: 1FF4 */
-#else
 /* function ia_css_tagger_sp_acquire_buf_elem: 2044 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_bufq_sp_is_dynamic_buffer: 3085 */
-#else
 /* function ia_css_bufq_sp_is_dynamic_buffer: 3227 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_group
 #define HIVE_MEM_sp_group scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_group 0x4208
-#define HIVE_SIZE_sp_group 1144
-#else
 #define HIVE_ADDR_sp_group 0x4228
 #define HIVE_SIZE_sp_group 1184
-#endif
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_group scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_group 0x4208
-#define HIVE_SIZE_sp_sp_group 1144
-#else
 #define HIVE_ADDR_sp_sp_group 0x4228
 #define HIVE_SIZE_sp_sp_group 1184
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_event_proxy_thread
 #define HIVE_MEM_sp_event_proxy_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_event_proxy_thread 0x4954
-#define HIVE_SIZE_sp_event_proxy_thread 68
-#else
 #define HIVE_ADDR_sp_event_proxy_thread 0x49B0
 #define HIVE_SIZE_sp_event_proxy_thread 72
-#endif
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_event_proxy_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_event_proxy_thread 0x4954
-#define HIVE_SIZE_sp_sp_event_proxy_thread 68
-#else
 #define HIVE_ADDR_sp_sp_event_proxy_thread 0x49B0
 #define HIVE_SIZE_sp_sp_event_proxy_thread 72
-#endif
 
-#ifndef ISP2401
-/* function ia_css_thread_sp_kill: CD6 */
-#else
 /* function ia_css_thread_sp_kill: CCB */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_create: 28BB */
-#else
 /* function ia_css_tagger_sp_create: 2A51 */
-#endif
 
-#ifndef ISP2401
-/* function tmpmem_acquire_dmem: 657A */
-#else
 /* function tmpmem_acquire_dmem: 66B5 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_MMU_BASE
 #define HIVE_ADDR_sp_MMU_BASE 0x24
 #define HIVE_SIZE_sp_MMU_BASE 8
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_channel_release: 34B8 */
-#else
 /* function ia_css_dmaproxy_sp_channel_release: 36AC */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_is_idle: 3498 */
-#else
 /* function ia_css_dmaproxy_sp_is_idle: 368C */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_qos_start
 #define HIVE_MEM_sem_for_qos_start scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_qos_start 0x477C
-#else
 #define HIVE_ADDR_sem_for_qos_start 0x47C4
-#endif
 #define HIVE_SIZE_sem_for_qos_start 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_qos_start scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_qos_start 0x477C
-#else
 #define HIVE_ADDR_sp_sem_for_qos_start 0x47C4
-#endif
 #define HIVE_SIZE_sp_sem_for_qos_start 20
 
-#ifndef ISP2401
-/* function isp_hmem_load: B55 */
-#else
 /* function isp_hmem_load: B4F */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_release_buf_elem: 1FD0 */
-#else
 /* function ia_css_tagger_sp_release_buf_elem: 2020 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_eventq_sp_send: 350E */
-#else
 /* function ia_css_eventq_sp_send: 3702 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_isys_sp_error_cnt
 #define HIVE_MEM_ia_css_isys_sp_error_cnt scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_isys_sp_error_cnt 0x62D4
-#else
 #define HIVE_ADDR_ia_css_isys_sp_error_cnt 0x6330
-#endif
 #define HIVE_SIZE_ia_css_isys_sp_error_cnt 16
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_isys_sp_error_cnt scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_isys_sp_error_cnt 0x62D4
-#else
 #define HIVE_ADDR_sp_ia_css_isys_sp_error_cnt 0x6330
-#endif
 #define HIVE_SIZE_sp_ia_css_isys_sp_error_cnt 16
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_unlock_from_start: 2ABE */
-#else
 /* function ia_css_tagger_buf_sp_unlock_from_start: 2C60 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_debug_buffer_ddr_address
 #define HIVE_ADDR_sp_debug_buffer_ddr_address 0xBC
 #define HIVE_SIZE_sp_debug_buffer_ddr_address 4
 
-#ifndef ISP2401
-/* function sp_isys_copy_request: 714 */
-#else
 /* function sp_isys_copy_request: 6A8 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_refcount_retain_vbuf: 635D */
-#else
 /* function ia_css_rmgr_sp_refcount_retain_vbuf: 6498 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_thread_sp_set_priority: CCE */
-#else
 /* function ia_css_thread_sp_set_priority: CC3 */
-#endif
 
-#ifndef ISP2401
-/* function sizeof_hmem: BFC */
-#else
 /* function sizeof_hmem: BF6 */
-#endif
 
-#ifndef ISP2401
-/* function tmpmem_release_dmem: 6569 */
-#else
 /* function tmpmem_release_dmem: 66A4 */
-#endif
 
 /* function cnd_input_system_cfg: 392 */
 
-#ifndef ISP2401
-/* function __ia_css_sp_rawcopy_func_critical: 6F65 */
-#else
 /* function __ia_css_sp_rawcopy_func_critical: 70C2 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_set_width_exception: 331D */
-#else
 /* function __ia_css_dmaproxy_sp_process_text: 331F */
-#endif
 
-#ifndef ISP2401
-/* function sp_event_assert: 8B1 */
-#else
 /* function ia_css_dmaproxy_sp_set_width_exception: 3511 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_flash_sp_init_internal_params: 2CA9 */
-#else
 /* function sp_event_assert: 845 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_pop_unmarked_and_unlocked: 29C4 */
-#else
 /* function ia_css_flash_sp_init_internal_params: 2E4B */
-#endif
 
-#ifndef ISP2401
-/* function __modu: 68BB */
-#else
 /* function ia_css_tagger_buf_sp_pop_unmarked_and_unlocked: 2B66 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_init_isp_vector: 31A2 */
-#else
 /* function __modu: 6A2E */
 
 /* function ia_css_dmaproxy_sp_init_isp_vector: 3381 */
-#endif
 
 /* function isp_vamem_store: 0 */
 
-#ifdef ISP2401
 /* function ia_css_tagger_sp_set_copy_pipe: 2A48 */
 
-#endif
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_GDC_BASE
 #define HIVE_MEM_GDC_BASE scalar_processor_2400_dmem
 #define HIVE_ADDR_sp_GDC_BASE 0x44
 #define HIVE_SIZE_sp_GDC_BASE 8
 
-#ifndef ISP2401
-/* function ia_css_queue_local_init: 4C27 */
-#else
 /* function ia_css_queue_local_init: 4E85 */
-#endif
 
-#ifndef ISP2401
-/* function sp_event_proxy_callout_func: 6988 */
-#else
 /* function sp_event_proxy_callout_func: 6AFB */
-#endif
 
-#ifndef ISP2401
-/* function qos_scheduler_schedule_stage: 65C1 */
-#else
 /* function qos_scheduler_schedule_stage: 670F */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_thread_sp_num_ready_threads
 #define HIVE_MEM_ia_css_thread_sp_num_ready_threads scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_thread_sp_num_ready_threads 0x49E0
-#else
 #define HIVE_ADDR_ia_css_thread_sp_num_ready_threads 0x4A40
-#endif
 #define HIVE_SIZE_ia_css_thread_sp_num_ready_threads 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_thread_sp_num_ready_threads scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_thread_sp_num_ready_threads 0x49E0
-#else
 #define HIVE_ADDR_sp_ia_css_thread_sp_num_ready_threads 0x4A40
-#endif
 #define HIVE_SIZE_sp_ia_css_thread_sp_num_ready_threads 4
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #define HIVE_ADDR_sp_sp_threads_stack_size 0x180
 #define HIVE_SIZE_sp_sp_threads_stack_size 28
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_isp_done_row_striping: 3F48 */
-#else
 /* function ia_css_ispctrl_sp_isp_done_row_striping: 418B */
-#endif
 
-#ifndef ISP2401
-/* function __ia_css_isys_sp_isr_text: 5E22 */
-#else
 /* function __ia_css_isys_sp_isr_text: 5F5D */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_queue_dequeue: 4AA5 */
-#else
 /* function ia_css_queue_dequeue: 4D03 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_configure_channel: 6E4C */
-#else
 /* function is_qos_standalone_mode: 66EA */
 
 /* function ia_css_dmaproxy_sp_configure_channel: 6F90 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_current_thread_fiber_sp
 #define HIVE_MEM_current_thread_fiber_sp scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_current_thread_fiber_sp 0x49E8
-#else
 #define HIVE_ADDR_current_thread_fiber_sp 0x4A44
-#endif
 #define HIVE_SIZE_current_thread_fiber_sp 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_current_thread_fiber_sp scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_current_thread_fiber_sp 0x49E8
-#else
 #define HIVE_ADDR_sp_current_thread_fiber_sp 0x4A44
-#endif
 #define HIVE_SIZE_sp_current_thread_fiber_sp 4
 
-#ifndef ISP2401
-/* function ia_css_circbuf_pop: FD8 */
-#else
 /* function ia_css_circbuf_pop: FCD */
-#endif
 
-#ifndef ISP2401
-/* function memset: 693A */
-#else
 /* function memset: 6AAD */
-#endif
 
 /* function irq_raise_set_token: B6 */
 
 #define HIVE_ADDR_sp_GPIO_BASE 0x3C
 #define HIVE_SIZE_sp_GPIO_BASE 4
 
-#ifndef ISP2401
-/* function ia_css_pipeline_acc_stage_enable: 17F0 */
-#else
 /* function ia_css_pipeline_acc_stage_enable: 1818 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_unlock_exp_id: 2041 */
-#else
 /* function ia_css_tagger_sp_unlock_exp_id: 2091 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_isp_ph
 #define HIVE_MEM_isp_ph scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_isp_ph 0x62E4
-#else
 #define HIVE_ADDR_isp_ph 0x6340
-#endif
 #define HIVE_SIZE_isp_ph 28
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_isp_ph scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_isp_ph 0x62E4
-#else
 #define HIVE_ADDR_sp_isp_ph 0x6340
-#endif
 #define HIVE_SIZE_sp_isp_ph 28
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_flush: 6022 */
-#else
 /* function ia_css_isys_sp_token_map_flush: 615D */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_init_ds: 37CB */
-#else
 /* function ia_css_ispctrl_sp_init_ds: 39FA */
-#endif
 
-#ifndef ISP2401
-/* function get_xmem_base_addr_raw: 3B78 */
-#else
 /* function get_xmem_base_addr_raw: 3DB3 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_all_cbs_param
 #define HIVE_MEM_sp_all_cbs_param scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_all_cbs_param 0x4790
-#else
 #define HIVE_ADDR_sp_all_cbs_param 0x47D8
-#endif
 #define HIVE_SIZE_sp_all_cbs_param 16
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_all_cbs_param scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_all_cbs_param 0x4790
-#else
 #define HIVE_ADDR_sp_sp_all_cbs_param 0x47D8
-#endif
 #define HIVE_SIZE_sp_sp_all_cbs_param 16
 
-#ifndef ISP2401
-/* function ia_css_circbuf_create: 1026 */
-#else
 /* function ia_css_circbuf_create: 101B */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_sp_group
 #define HIVE_MEM_sem_for_sp_group scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_sp_group 0x47A0
-#else
 #define HIVE_ADDR_sem_for_sp_group 0x47E8
-#endif
 #define HIVE_SIZE_sem_for_sp_group 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_sp_group scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_sp_group 0x47A0
-#else
 #define HIVE_ADDR_sp_sem_for_sp_group 0x47E8
-#endif
 #define HIVE_SIZE_sp_sem_for_sp_group 20
 
-#ifndef ISP2401
-/* function ia_css_framebuf_sp_wait_for_in_frame: 64F8 */
-#else
 /* function __ia_css_dmaproxy_sp_configure_channel_text: 34F0 */
 
 /* function ia_css_framebuf_sp_wait_for_in_frame: 6633 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_sp_rawcopy_tag_frame: 5588 */
-#else
 /* function ia_css_sp_rawcopy_tag_frame: 57C9 */
-#endif
 
-#ifndef ISP2401
-/* function isp_hmem_clear: B25 */
-#else
 /* function isp_hmem_clear: B1F */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_framebuf_sp_release_in_frame: 653B */
-#else
 /* function ia_css_framebuf_sp_release_in_frame: 6676 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_snd_acquire_request: 5A78 */
-#else
 /* function ia_css_isys_sp_backend_snd_acquire_request: 5BB3 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_is_full: 5EA9 */
-#else
 /* function ia_css_isys_sp_token_map_is_full: 5FE4 */
-#endif
 
-#ifndef ISP2401
-/* function input_system_acquisition_run: AF9 */
-#else
 /* function input_system_acquisition_run: AF3 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_start_binary: 364A */
-#else
 /* function ia_css_ispctrl_sp_start_binary: 384C */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_h_pipe_private_ddr_ptrs
 #define HIVE_MEM_ia_css_bufq_sp_h_pipe_private_ddr_ptrs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_h_pipe_private_ddr_ptrs 0x58F4
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_h_pipe_private_ddr_ptrs 0x5950
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_h_pipe_private_ddr_ptrs 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_h_pipe_private_ddr_ptrs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_h_pipe_private_ddr_ptrs 0x58F4
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_h_pipe_private_ddr_ptrs 0x5950
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_h_pipe_private_ddr_ptrs 20
 
-#ifndef ISP2401
-/* function ia_css_eventq_sp_recv: 34E0 */
-#else
 /* function ia_css_eventq_sp_recv: 36D4 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_isp_pool
 #define HIVE_MEM_isp_pool scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_isp_pool 0x2E8
-#else
 #define HIVE_ADDR_isp_pool 0x300
-#endif
 #define HIVE_SIZE_isp_pool 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_isp_pool scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_isp_pool 0x2E8
-#else
 #define HIVE_ADDR_sp_isp_pool 0x300
-#endif
 #define HIVE_SIZE_sp_isp_pool 4
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_rel_gen: 622A */
-#else
 /* function ia_css_rmgr_sp_rel_gen: 6365 */
 
 /* function ia_css_tagger_sp_unblock_clients: 2919 */
-#endif
 
-#ifndef ISP2401
-/* function css_get_frame_processing_time_end: 1FC0 */
-#else
 /* function css_get_frame_processing_time_end: 2010 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_event_any_pending_mask
 #define HIVE_MEM_event_any_pending_mask scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_event_any_pending_mask 0x300
-#else
 #define HIVE_ADDR_event_any_pending_mask 0x318
-#endif
 #define HIVE_SIZE_event_any_pending_mask 8
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_event_any_pending_mask scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_event_any_pending_mask 0x300
-#else
 #define HIVE_ADDR_sp_event_any_pending_mask 0x318
-#endif
 #define HIVE_SIZE_sp_event_any_pending_mask 8
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_push: 5A2F */
-#else
 /* function ia_css_isys_sp_backend_push: 5B6A */
-#endif
 
 /* function sh_css_decode_tag_descr: 352 */
 
 /* function debug_enqueue_isp: 27B */
 
-#ifndef ISP2401
-/* function qos_scheduler_update_stage_budget: 65AF */
-#else
 /* function qos_scheduler_update_stage_budget: 66F2 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_spctrl_sp_uninit: 596A */
-#else
 /* function ia_css_spctrl_sp_uninit: 5AA5 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_HIVE_IF_SWITCH_CODE
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_pipe_private_dis_bufs
 #define HIVE_MEM_ia_css_bufq_sp_pipe_private_dis_bufs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_pipe_private_dis_bufs 0x5908
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_pipe_private_dis_bufs 0x5964
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_pipe_private_dis_bufs 140
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_pipe_private_dis_bufs scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_dis_bufs 0x5908
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_dis_bufs 0x5964
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_pipe_private_dis_bufs 140
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_lock_from_start: 2AF2 */
-#else
 /* function ia_css_tagger_buf_sp_lock_from_start: 2C94 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_isp_idle
 #define HIVE_MEM_sem_for_isp_idle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_isp_idle 0x47B4
-#else
 #define HIVE_ADDR_sem_for_isp_idle 0x47FC
-#endif
 #define HIVE_SIZE_sem_for_isp_idle 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_isp_idle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_isp_idle 0x47B4
-#else
 #define HIVE_ADDR_sp_sem_for_isp_idle 0x47FC
-#endif
 #define HIVE_SIZE_sp_sem_for_isp_idle 20
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_write_byte_addr: 31FF */
-#else
 /* function ia_css_dmaproxy_sp_write_byte_addr: 33DE */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_init: 3176 */
-#else
 /* function ia_css_dmaproxy_sp_init: 3355 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_bufq_sp_release_dynamic_buf_clock_tick: 2D7B */
-#else
 /* function ia_css_bufq_sp_release_dynamic_buf_clock_tick: 2F1D */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ISP_VAMEM_BASE
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_rawcopy_sp_tagger
 #define HIVE_MEM_ia_css_rawcopy_sp_tagger scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_rawcopy_sp_tagger 0x6294
-#else
 #define HIVE_ADDR_ia_css_rawcopy_sp_tagger 0x62F0
-#endif
 #define HIVE_SIZE_ia_css_rawcopy_sp_tagger 24
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_rawcopy_sp_tagger scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_rawcopy_sp_tagger 0x6294
-#else
 #define HIVE_ADDR_sp_ia_css_rawcopy_sp_tagger 0x62F0
-#endif
 #define HIVE_SIZE_sp_ia_css_rawcopy_sp_tagger 24
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_pipe_private_exp_ids
 #define HIVE_MEM_ia_css_bufq_sp_pipe_private_exp_ids scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_pipe_private_exp_ids 0x5994
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_pipe_private_exp_ids 0x59F0
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_pipe_private_exp_ids 70
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_pipe_private_exp_ids scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_exp_ids 0x5994
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_exp_ids 0x59F0
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_pipe_private_exp_ids 70
 
-#ifndef ISP2401
-/* function ia_css_queue_item_load: 4D19 */
-#else
 /* function ia_css_queue_item_load: 4F77 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_spctrl_sp_get_state: 5955 */
-#else
 /* function ia_css_spctrl_sp_get_state: 5A90 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_uninit: 603F */
-#else
 /* function ia_css_isys_sp_token_map_uninit: 617A */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_callout_sp_thread
 #define HIVE_MEM_callout_sp_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_callout_sp_thread 0x49DC
-#else
 #define HIVE_ADDR_callout_sp_thread 0x1E0
-#endif
 #define HIVE_SIZE_callout_sp_thread 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_callout_sp_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_callout_sp_thread 0x49DC
-#else
 #define HIVE_ADDR_sp_callout_sp_thread 0x1E0
-#endif
 #define HIVE_SIZE_sp_callout_sp_thread 4
 
-#ifndef ISP2401
-/* function thread_fiber_sp_init: E2F */
-#else
 /* function thread_fiber_sp_init: E24 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_SP_PMEM_BASE
 #define HIVE_ADDR_sp_SP_PMEM_BASE 0x0
 #define HIVE_SIZE_sp_SP_PMEM_BASE 4
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_snd_acquire_req: 5FAF */
-#else
 /* function ia_css_isys_sp_token_map_snd_acquire_req: 60EA */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_isp_input_stream_format
 #define HIVE_MEM_sp_isp_input_stream_format scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_isp_input_stream_format 0x40F8
-#else
 #define HIVE_ADDR_sp_isp_input_stream_format 0x4118
-#endif
 #define HIVE_SIZE_sp_isp_input_stream_format 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_isp_input_stream_format scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_isp_input_stream_format 0x40F8
-#else
 #define HIVE_ADDR_sp_sp_isp_input_stream_format 0x4118
-#endif
 #define HIVE_SIZE_sp_sp_isp_input_stream_format 20
 
-#ifndef ISP2401
-/* function __mod: 68A7 */
-#else
 /* function __mod: 6A1A */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_init_dmem_channel: 3260 */
-#else
 /* function ia_css_dmaproxy_sp_init_dmem_channel: 343F */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_thread_sp_join: CFF */
-#else
 /* function ia_css_thread_sp_join: CF4 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_add_command: 6F4F */
-#else
 /* function ia_css_dmaproxy_sp_add_command: 7082 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_sp_metadata_thread_func: 5809 */
-#else
 /* function ia_css_sp_metadata_thread_func: 5968 */
-#endif
 
-#ifndef ISP2401
-/* function __sp_event_proxy_func_critical: 6975 */
-#else
 /* function __sp_event_proxy_func_critical: 6AE8 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_sp_metadata_wait: 591C */
-#else
 /* function ia_css_sp_metadata_wait: 5A57 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_circbuf_peek_from_start: F08 */
-#else
 /* function ia_css_circbuf_peek_from_start: EFD */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_event_sp_encode: 356B */
-#else
 /* function ia_css_event_sp_encode: 375F */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_thread_sp_run: D72 */
-#else
 /* function ia_css_thread_sp_run: D67 */
-#endif
 
-#ifndef ISP2401
-/* function sp_isys_copy_func: 6F6 */
-#else
 /* function sp_isys_copy_func: 68A */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_flush: 5A98 */
-#else
 /* function ia_css_isys_sp_backend_flush: 5BD3 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_frame_exists: 59B4 */
-#else
 /* function ia_css_isys_sp_backend_frame_exists: 5AEF */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_sp_isp_param_init_isp_memories: 47A2 */
-#else
 /* function ia_css_sp_isp_param_init_isp_memories: 4A2A */
-#endif
 
-#ifndef ISP2401
-/* function register_isr: 8A9 */
-#else
 /* function register_isr: 83D */
-#endif
 
 /* function irq_raise: C8 */
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_mmu_invalidate: 313D */
-#else
 /* function ia_css_dmaproxy_sp_mmu_invalidate: 32E5 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_HIVE_IF_SRST_ADDRESS
 #define HIVE_ADDR_sp_HIVE_IF_SRST_ADDRESS 0x1B8
 #define HIVE_SIZE_sp_HIVE_IF_SRST_ADDRESS 16
 
-#ifndef ISP2401
-/* function pipeline_sp_initialize_stage: 1924 */
-#else
 /* function pipeline_sp_initialize_stage: 195E */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_isys_sp_frontend_states
 #define HIVE_MEM_ia_css_isys_sp_frontend_states scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_isys_sp_frontend_states 0x62C8
-#else
 #define HIVE_ADDR_ia_css_isys_sp_frontend_states 0x6324
-#endif
 #define HIVE_SIZE_ia_css_isys_sp_frontend_states 12
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_isys_sp_frontend_states scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_isys_sp_frontend_states 0x62C8
-#else
 #define HIVE_ADDR_sp_ia_css_isys_sp_frontend_states 0x6324
-#endif
 #define HIVE_SIZE_sp_ia_css_isys_sp_frontend_states 12
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_read_byte_addr_mmio: 6E1E */
-#else
 /* function ia_css_dmaproxy_sp_read_byte_addr_mmio: 6F62 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_done_ds: 37B2 */
-#else
 /* function ia_css_ispctrl_sp_done_ds: 39E1 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_sp_isp_param_get_mem_inits: 477D */
-#else
 /* function ia_css_sp_isp_param_get_mem_inits: 4A05 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_parambuf_sp_init_buffer_queues: 13D0 */
-#else
 /* function ia_css_parambuf_sp_init_buffer_queues: 13F1 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_vbuf_pfp_spref
 #define HIVE_MEM_vbuf_pfp_spref scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_vbuf_pfp_spref 0x2F0
-#else
 #define HIVE_ADDR_vbuf_pfp_spref 0x308
-#endif
 #define HIVE_SIZE_vbuf_pfp_spref 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_vbuf_pfp_spref scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_vbuf_pfp_spref 0x2F0
-#else
 #define HIVE_ADDR_sp_vbuf_pfp_spref 0x308
-#endif
 #define HIVE_SIZE_sp_vbuf_pfp_spref 4
 
-#ifndef ISP2401
-/* function input_system_cfg: ABB */
-#else
 /* function input_system_cfg: AB5 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ISP_HMEM_BASE
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_pipe_private_frames
 #define HIVE_MEM_ia_css_bufq_sp_pipe_private_frames scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_pipe_private_frames 0x59DC
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_pipe_private_frames 0x5A38
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_pipe_private_frames 280
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_pipe_private_frames scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_frames 0x59DC
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_pipe_private_frames 0x5A38
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_pipe_private_frames 280
 
-#ifndef ISP2401
-/* function qos_scheduler_init_stage_budget: 65E8 */
-#else
 /* function qos_scheduler_init_stage_budget: 6750 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_release: 5B0D */
-#else
 /* function ia_css_isys_sp_backend_release: 5C48 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_backend_destroy: 5B37 */
-#else
 /* function ia_css_isys_sp_backend_destroy: 5C72 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp2host_buffer_queue_handle
 #define HIVE_MEM_sp2host_buffer_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp2host_buffer_queue_handle 0x5AF4
-#else
 #define HIVE_ADDR_sp2host_buffer_queue_handle 0x5B50
-#endif
 #define HIVE_SIZE_sp2host_buffer_queue_handle 96
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp2host_buffer_queue_handle scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp2host_buffer_queue_handle 0x5AF4
-#else
 #define HIVE_ADDR_sp_sp2host_buffer_queue_handle 0x5B50
-#endif
 #define HIVE_SIZE_sp_sp2host_buffer_queue_handle 96
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_check_mipi_frame_size: 5F73 */
-#else
 /* function ia_css_isys_sp_token_map_check_mipi_frame_size: 60AE */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_ispctrl_sp_init_isp_vars: 449C */
-#else
 /* function ia_css_ispctrl_sp_init_isp_vars: 46F7 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_frontend_has_empty_mipi_buffer_cb: 5B89 */
-#else
 /* function ia_css_isys_sp_frontend_has_empty_mipi_buffer_cb: 5CC4 */
-#endif
 
-#ifndef ISP2401
-/* function sp_warning: 8DC */
-#else
 /* function sp_warning: 870 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_vbuf_enqueue: 631D */
-#else
 /* function ia_css_rmgr_sp_vbuf_enqueue: 6458 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_sp_tag_exp_id: 215B */
-#else
 /* function ia_css_tagger_sp_tag_exp_id: 21AB */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_write: 3216 */
-#else
 /* function ia_css_dmaproxy_sp_write: 33F5 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_parambuf_sp_release_in_param: 1250 */
-#else
 /* function ia_css_parambuf_sp_release_in_param: 1245 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_irq_sw_interrupt_token
 #define HIVE_MEM_irq_sw_interrupt_token scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_irq_sw_interrupt_token 0x40F4
-#else
 #define HIVE_ADDR_irq_sw_interrupt_token 0x4114
-#endif
 #define HIVE_SIZE_irq_sw_interrupt_token 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_irq_sw_interrupt_token scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_irq_sw_interrupt_token 0x40F4
-#else
 #define HIVE_ADDR_sp_irq_sw_interrupt_token 0x4114
-#endif
 #define HIVE_SIZE_sp_irq_sw_interrupt_token 4
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_isp_addresses
 #define HIVE_MEM_sp_isp_addresses scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_isp_addresses 0x5F44
-#else
 #define HIVE_ADDR_sp_isp_addresses 0x5FA4
-#endif
 #define HIVE_SIZE_sp_isp_addresses 172
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_isp_addresses scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_isp_addresses 0x5F44
-#else
 #define HIVE_ADDR_sp_sp_isp_addresses 0x5FA4
-#endif
 #define HIVE_SIZE_sp_sp_isp_addresses 172
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_acq_gen: 6242 */
-#else
 /* function ia_css_rmgr_sp_acq_gen: 637D */
-#endif
 
-#ifndef ISP2401
-/* function receiver_reg_load: AD0 */
-#else
 /* function receiver_reg_load: ACA */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_isps
 #define HIVE_MEM_isps scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_isps 0x6300
-#else
 #define HIVE_ADDR_isps 0x635C
-#endif
 #define HIVE_SIZE_isps 28
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_isps scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_isps 0x6300
-#else
 #define HIVE_ADDR_sp_isps 0x635C
-#endif
 #define HIVE_SIZE_sp_isps 28
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_host_sp_queues_initialized
 #define HIVE_MEM_host_sp_queues_initialized scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_host_sp_queues_initialized 0x410C
-#else
 #define HIVE_ADDR_host_sp_queues_initialized 0x412C
-#endif
 #define HIVE_SIZE_host_sp_queues_initialized 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_host_sp_queues_initialized scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_host_sp_queues_initialized 0x410C
-#else
 #define HIVE_ADDR_sp_host_sp_queues_initialized 0x412C
-#endif
 #define HIVE_SIZE_sp_host_sp_queues_initialized 4
 
-#ifndef ISP2401
-/* function ia_css_queue_uninit: 4BE5 */
-#else
 /* function ia_css_queue_uninit: 4E43 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_ispctrl_sp_isp_started
 #define HIVE_MEM_ia_css_ispctrl_sp_isp_started scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_ispctrl_sp_isp_started 0x5BFC
-#else
 #define HIVE_ADDR_ia_css_ispctrl_sp_isp_started 0x5C58
-#endif
 #define HIVE_SIZE_ia_css_ispctrl_sp_isp_started 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_ispctrl_sp_isp_started scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_ispctrl_sp_isp_started 0x5BFC
-#else
 #define HIVE_ADDR_sp_ia_css_ispctrl_sp_isp_started 0x5C58
-#endif
 #define HIVE_SIZE_sp_ia_css_ispctrl_sp_isp_started 4
 
-#ifndef ISP2401
-/* function ia_css_bufq_sp_release_dynamic_buf: 2DE7 */
-#else
 /* function ia_css_bufq_sp_release_dynamic_buf: 2F89 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_set_height_exception: 330E */
-#else
 /* function ia_css_dmaproxy_sp_set_height_exception: 3502 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_init_vmem_channel: 3293 */
-#else
 /* function ia_css_dmaproxy_sp_init_vmem_channel: 3473 */
-#endif
 
-#ifndef ISP2401
-#ifndef HIVE_MULTIPLE_PROGRAMS
-#ifndef HIVE_MEM_num_ready_threads
-#define HIVE_MEM_num_ready_threads scalar_processor_2400_dmem
-#define HIVE_ADDR_num_ready_threads 0x49E4
-#define HIVE_SIZE_num_ready_threads 4
-#else
-#endif
-#endif
-#define HIVE_MEM_sp_num_ready_threads scalar_processor_2400_dmem
-#define HIVE_ADDR_sp_num_ready_threads 0x49E4
-#define HIVE_SIZE_sp_num_ready_threads 4
-
-/* function ia_css_dmaproxy_sp_write_byte_addr_mmio: 31E8 */
-#else
 /* function ia_css_dmaproxy_sp_write_byte_addr_mmio: 33C7 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_vbuf_spref
 #define HIVE_MEM_vbuf_spref scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_vbuf_spref 0x2EC
-#else
 #define HIVE_ADDR_vbuf_spref 0x304
-#endif
 #define HIVE_SIZE_vbuf_spref 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_vbuf_spref scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_vbuf_spref 0x2EC
-#else
 #define HIVE_ADDR_sp_vbuf_spref 0x304
-#endif
 #define HIVE_SIZE_sp_vbuf_spref 4
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_metadata_thread
 #define HIVE_MEM_sp_metadata_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_metadata_thread 0x4998
-#define HIVE_SIZE_sp_metadata_thread 68
-#else
 #define HIVE_ADDR_sp_metadata_thread 0x49F8
 #define HIVE_SIZE_sp_metadata_thread 72
-#endif
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_metadata_thread scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_metadata_thread 0x4998
-#define HIVE_SIZE_sp_sp_metadata_thread 68
-#else
 #define HIVE_ADDR_sp_sp_metadata_thread 0x49F8
 #define HIVE_SIZE_sp_sp_metadata_thread 72
-#endif
 
-#ifndef ISP2401
-/* function ia_css_queue_enqueue: 4B2F */
-#else
 /* function ia_css_queue_enqueue: 4D8D */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_flash_sp_request
 #define HIVE_MEM_ia_css_flash_sp_request scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_flash_sp_request 0x4A98
-#else
 #define HIVE_ADDR_ia_css_flash_sp_request 0x4AF4
-#endif
 #define HIVE_SIZE_ia_css_flash_sp_request 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_flash_sp_request scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_flash_sp_request 0x4A98
-#else
 #define HIVE_ADDR_sp_ia_css_flash_sp_request 0x4AF4
-#endif
 #define HIVE_SIZE_sp_ia_css_flash_sp_request 4
 
-#ifndef ISP2401
-/* function ia_css_dmaproxy_sp_vmem_write: 31B9 */
-#else
 /* function ia_css_dmaproxy_sp_vmem_write: 3398 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_tagger_frames
 #define HIVE_MEM_tagger_frames scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_tagger_frames 0x49EC
-#else
 #define HIVE_ADDR_tagger_frames 0x4A48
-#endif
 #define HIVE_SIZE_tagger_frames 168
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_tagger_frames scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_tagger_frames 0x49EC
-#else
 #define HIVE_ADDR_sp_tagger_frames 0x4A48
-#endif
 #define HIVE_SIZE_sp_tagger_frames 168
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_token_map_snd_capture_req: 5FD1 */
-#else
 /* function ia_css_isys_sp_token_map_snd_capture_req: 610C */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_reading_if
 #define HIVE_MEM_sem_for_reading_if scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_reading_if 0x47C8
-#else
 #define HIVE_ADDR_sem_for_reading_if 0x4810
-#endif
 #define HIVE_SIZE_sem_for_reading_if 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_reading_if scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_reading_if 0x47C8
-#else
 #define HIVE_ADDR_sp_sem_for_reading_if 0x4810
-#endif
 #define HIVE_SIZE_sp_sem_for_reading_if 20
 
-#ifndef ISP2401
-/* function sp_generate_interrupts: 95B */
-#else
 /* function sp_generate_interrupts: 8EF */
 
 /* function ia_css_pipeline_sp_start: 1871 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_pipeline_sp_start: 1837 */
-#else
 /* function ia_css_thread_default_callout: 6BE3 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_sp_rawcopy_init: 510C */
-#else
 /* function ia_css_sp_rawcopy_init: 536A */
-#endif
 
-#ifndef ISP2401
-/* function tmr_clock_read: 13F1 */
-#else
 /* function tmr_clock_read: 1412 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ISP_BAMEM_BASE
 #define HIVE_MEM_ISP_BAMEM_BASE scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ISP_BAMEM_BASE 0x2F8
-#else
 #define HIVE_ADDR_ISP_BAMEM_BASE 0x310
-#endif
 #define HIVE_SIZE_ISP_BAMEM_BASE 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ISP_BAMEM_BASE scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ISP_BAMEM_BASE 0x2F8
-#else
 #define HIVE_ADDR_sp_ISP_BAMEM_BASE 0x310
-#endif
 #define HIVE_SIZE_sp_ISP_BAMEM_BASE 4
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_frontend_rcv_capture_ack: 5C38 */
-#else
 /* function ia_css_isys_sp_frontend_rcv_capture_ack: 5D73 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_bufq_sp_sems_for_sp2host_buf_queues
 #define HIVE_MEM_ia_css_bufq_sp_sems_for_sp2host_buf_queues scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_bufq_sp_sems_for_sp2host_buf_queues 0x5B54
-#else
 #define HIVE_ADDR_ia_css_bufq_sp_sems_for_sp2host_buf_queues 0x5BB0
-#endif
 #define HIVE_SIZE_ia_css_bufq_sp_sems_for_sp2host_buf_queues 160
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_bufq_sp_sems_for_sp2host_buf_queues scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_bufq_sp_sems_for_sp2host_buf_queues 0x5B54
-#else
 #define HIVE_ADDR_sp_ia_css_bufq_sp_sems_for_sp2host_buf_queues 0x5BB0
-#endif
 #define HIVE_SIZE_sp_ia_css_bufq_sp_sems_for_sp2host_buf_queues 160
 
-#ifndef ISP2401
-/* function css_get_frame_processing_time_start: 1FC8 */
-#else
 /* function css_get_frame_processing_time_start: 2018 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_all_cbs_frame
 #define HIVE_MEM_sp_all_cbs_frame scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_all_cbs_frame 0x47DC
-#else
 #define HIVE_ADDR_sp_all_cbs_frame 0x4824
-#endif
 #define HIVE_SIZE_sp_all_cbs_frame 16
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_all_cbs_frame scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_all_cbs_frame 0x47DC
-#else
 #define HIVE_ADDR_sp_sp_all_cbs_frame 0x4824
-#endif
 #define HIVE_SIZE_sp_sp_all_cbs_frame 16
 
-#ifndef ISP2401
-/* function thread_sp_queue_print: D8F */
-#else
 /* function thread_sp_queue_print: D84 */
-#endif
 
-#ifndef ISP2401
-/* function sp_notify_eof: 907 */
-#else
 /* function sp_notify_eof: 89B */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sem_for_str2mem
 #define HIVE_MEM_sem_for_str2mem scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sem_for_str2mem 0x47EC
-#else
 #define HIVE_ADDR_sem_for_str2mem 0x4834
-#endif
 #define HIVE_SIZE_sem_for_str2mem 20
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sem_for_str2mem scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sem_for_str2mem 0x47EC
-#else
 #define HIVE_ADDR_sp_sem_for_str2mem 0x4834
-#endif
 #define HIVE_SIZE_sp_sem_for_str2mem 20
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_is_marked_from_start: 2B5A */
-#else
 /* function ia_css_tagger_buf_sp_is_marked_from_start: 2CFC */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_bufq_sp_acquire_dynamic_buf: 2F9F */
-#else
 /* function ia_css_bufq_sp_acquire_dynamic_buf: 3141 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_circbuf_destroy: 101D */
-#else
 /* function ia_css_circbuf_destroy: 1012 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ISP_PMEM_BASE
 #define HIVE_ADDR_sp_ISP_PMEM_BASE 0xC
 #define HIVE_SIZE_sp_ISP_PMEM_BASE 4
 
-#ifndef ISP2401
-/* function ia_css_sp_isp_param_mem_load: 4710 */
-#else
 /* function ia_css_sp_isp_param_mem_load: 4998 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_pop_from_start: 2946 */
-#else
 /* function ia_css_tagger_buf_sp_pop_from_start: 2AE8 */
-#endif
 
-#ifndef ISP2401
-/* function __div: 685F */
-#else
 /* function __div: 69D2 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_isys_sp_frontend_create: 5E09 */
-#else
 /* function ia_css_isys_sp_frontend_create: 5F44 */
-#endif
 
-#ifndef ISP2401
-/* function ia_css_rmgr_sp_refcount_release_vbuf: 633C */
-#else
 /* function ia_css_rmgr_sp_refcount_release_vbuf: 6477 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_ia_css_flash_sp_in_use
 #define HIVE_MEM_ia_css_flash_sp_in_use scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_ia_css_flash_sp_in_use 0x4A9C
-#else
 #define HIVE_ADDR_ia_css_flash_sp_in_use 0x4AF8
-#endif
 #define HIVE_SIZE_ia_css_flash_sp_in_use 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_ia_css_flash_sp_in_use scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_ia_css_flash_sp_in_use 0x4A9C
-#else
 #define HIVE_ADDR_sp_ia_css_flash_sp_in_use 0x4AF8
-#endif
 #define HIVE_SIZE_sp_ia_css_flash_sp_in_use 4
 
-#ifndef ISP2401
-/* function ia_css_thread_sem_sp_wait: 6B42 */
-#else
 /* function ia_css_thread_sem_sp_wait: 6CB7 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_sp_sleep_mode
 #define HIVE_MEM_sp_sleep_mode scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sleep_mode 0x4110
-#else
 #define HIVE_ADDR_sp_sleep_mode 0x4130
-#endif
 #define HIVE_SIZE_sp_sleep_mode 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_sp_sleep_mode scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_sp_sleep_mode 0x4110
-#else
 #define HIVE_ADDR_sp_sp_sleep_mode 0x4130
-#endif
 #define HIVE_SIZE_sp_sp_sleep_mode 4
 
-#ifndef ISP2401
-/* function ia_css_tagger_buf_sp_push: 2A55 */
-#else
 /* function ia_css_tagger_buf_sp_push: 2BF7 */
-#endif
 
 /* function mmu_invalidate_cache: D3 */
 
 #define HIVE_ADDR_sp_sp_max_cb_elems 0x148
 #define HIVE_SIZE_sp_sp_max_cb_elems 8
 
-#ifndef ISP2401
-/* function ia_css_queue_remote_init: 4C07 */
-#else
 /* function ia_css_queue_remote_init: 4E65 */
-#endif
 
 #ifndef HIVE_MULTIPLE_PROGRAMS
 #ifndef HIVE_MEM_isp_stop_req
 #define HIVE_MEM_isp_stop_req scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_isp_stop_req 0x4680
-#else
 #define HIVE_ADDR_isp_stop_req 0x46C8
-#endif
 #define HIVE_SIZE_isp_stop_req 4
 #else
 #endif
 #endif
 #define HIVE_MEM_sp_isp_stop_req scalar_processor_2400_dmem
-#ifndef ISP2401
-#define HIVE_ADDR_sp_isp_stop_req 0x4680
-#else
 #define HIVE_ADDR_sp_isp_stop_req 0x46C8
-#endif
 #define HIVE_SIZE_sp_isp_stop_req 4
 
-#ifndef ISP2401
-#define HIVE_ICACHE_sp_critical_SEGMENT_START 0
-#define HIVE_ICACHE_sp_critical_NUM_SEGMENTS  1
-#endif
 
 #endif /* _sp_map_h_ */
-#ifndef ISP2401
-extern void sh_css_dump_sp_dmem(void);
-void sh_css_dump_sp_dmem(void)
-{
-}
-#endif