run the converter:
	./gel_converter J7AHP_PSC.gel J7AHP_PSC.cmm


For J742S2 comment out non-used DDR channel setup

 IF ((data.long(eaxi:0x43000018)&7)==5)  //CTRL_MMR_CFG0_JTAG_USER_IDAHP[2:0] -> AHP31x31 has 4 EMIFs, AHP27x27 has 2 EMIFS
 (
        PRINT "Powering up LPSC_EMIF_CFG_2"
	PRINT ""
	GOSUB Set_MAIN_PSC_State &__PD_DDR2 &__LPSC_EMIF_CFG_2 &__PSC_PD_ON &__PSC_ENABLE
	ENTRY &__V38
	Var.Assign (\status&=(&__V38))
	PRINT "Powering up LPSC_EMIF_DATA_2"
	PRINT ""
	GOSUB Set_MAIN_PSC_State &__PD_DDR2 &__LPSC_EMIF_DATA_2 &__PSC_PD_ON &__PSC_ENABLE
	ENTRY &__V39
	Var.Assign (\status&=(&__V39))
 )

 IF ((data.long(eaxi:0x43000018)&7)==5)  //CTRL_MMR_CFG0_JTAG_USER_IDAHP[2:0] -> AHP31x31 has 4 EMIFs, AHP27x27 has 2 EMIFS
 (	
        // -- EMIF_CFG_3
	PRINT "Powering up LPSC_EMIF_CFG_3"
	PRINT ""
	GOSUB Set_BoltOn_PSC_State &__BOLT_PD_DDR3 &__LPSC_EMIF_CFG_3 &__PSC_PD_ON &__PSC_ENABLE
	ENTRY &__V47
	Var.Assign (\status&=(&__V47))
	PRINT "Powering up LPSC_EMIF_DATA_3"
	PRINT ""
 )
