#include<def21469.h>
#include<cs_macros.h>



.global _Init_PLL_DDR2_AMI;

.section/pm seg_pmco;

 _Init_PLL_DDR2_AMI:

	ADSP_2146X_PLL_Init(18,2,0,2,3);

	ADSP_2146x_DDR2_Init(
				B0SD,
				DDR2PSS|DDR2RAW13|DDR2CAW10|DDR2BC8|DDR2WDTHx16|DDR2OPT|DDR2MODIFY1,
				DDR2TRAS9|DDR2TRP4|DDR2TWTR2|DDR2TRCD4|DDR2TRTP2|DDR2TRRD3|DDR2TFAW12,
				DDR2MR|DDR2TWR4|DDR2CAS4|DDR2BL4,
				DDR2EXTMR1|DDR2AL0|DDR2ODTDIS|0,
				DDR2EXTMR2,
				DDR2EXTMR3,
				0x6ce|(29<<21),
				5000,
				2,
				0x200000
			);

	 rts;

_Init_PLL_DDR2_AMI.END: