We have 4 kinds sdram for DSP core, they are:
pmin:	which used to save dsp code to load to PMIN
pmswap: which used to save dsp code to load to PMSWAP
dmswap: which used to save some const table used in dsp code
backup: which used to back up the data when DSP is executing.

The current sdram allocation table for DSP:

sdram hi = 0x05
0x0000 -- 0x0800	g711					pmin
0x0800 -- 0x1000	freq convert			pmin
0x1000 -- 0x1800	cid						pmswap
0x1800 -- 0x2000	sdram test				pmin
0x2000 -- 0x2800	cid data				backup
0x2800 -- 0x3000	dtmf data				backup
0x3000 -- 0x4000	gsm encode				pmswap
0x4000 -- 0x5000	gsm decode				pmswap
0x5000 -- 0x6000	g711 pcm				pmswap
0x6000 -- 0x7000	g711 cng code			pmswap
0x7000 -- 0x8000	g711 cng init			pmswap
0x8000 -- 0x9000	Gu aec code				pmswap		{ it use less MIPS, so we use it in G723 audio type }
0x9000 -- 0x9800	gsm						pmin
0x9800 -- 0x9a00	reserved
0x9a00 -- 0xa000	g711 cng data			backup
0xa000 -- 0xb000	reserved							{ it seems that this range sdram has some confliction }
0xb000 -- 0xb800	gsm data				backup
0xb800 -- 0xc000	gsm data				dmswap
0xc000 -- 0xd000	reserved
0xd000 -- 0xd200	8k<->48k filter data	dmswap
0xd200 -- 0xd400	16k<->48k filter data	dmswap
0xd400 -- 0xe000	dtmf data				dmswap		{ maybe there has some free space }
0xe000 -- 0xf000	dtmf code				pmswap
0xf000 -- 0xffff	freq cnvt data			backup

sdram hi = 0x07
0x0000 -- 0x1500	ilbc enc table			dmswap and backup
0x1500 -- 0x1900	ilbc dec table			dmswap and backup
0x1900 -- 0x2400	agc data				dmswap and backup
0x2400 -- 0x3400	agc code				pmswap
0x3400 -- 0x4000	reserved
0x4000 -- 0x4100	dtmf freq1				dtmf frequence
0x4100 -- 0x4200	dtmf freq2				dtmf frequence
0x4200 -- 0xffff	reserved

sdram hi = 0x08
0x0000 -- 0x1000	g723 main				pmin
0x1000 -- 0x2000	g723 init				pmswap
0x2000 -- 0x3000	g723 enc1				pmswap
0x3000 -- 0x4000	g723 enc2				pmswap
0x4000 -- 0x5000	g723 enc3				pmswap
0x5000 -- 0x6000	g723 enc4				pmswap
0x6000 -- 0x7000	g723 enc5				pmswap
0x7000 -- 0x8000	g723 enc6				pmswap
0x8000 -- 0x9000	g723 enc7				pmswap
0x9000 -- 0xa000	g723 enc8				pmswap
0xa000 -- 0xb000	g723 enc9				pmswap
0xb000 -- 0xc000	g723 enc10				pmswap
0xc000 -- 0xd000	g723 enc11				pmswap
0xd000 -- 0xe000	g723 enc12				pmswap
0xe000 -- 0xf000	g723 enc13				pmswap
0xf000 -- 0xffff	g723 enc14				pmswap

sdram hi = 0x09
0x0000 -- 0x1000	g723 dec1				pmswap	
0x1000 -- 0x2000	g723 dec2				pmswap
0x2000 -- 0x3000	g723 dec3				pmswap
0x3000 -- 0x4000	g723 dec4				pmswap
0x4000 -- 0x5000	g723 dec5				pmswap
0x5000 -- 0x6000	g723 dec6				pmswap
0x6000 -- 0x7000	g723 dec7				pmswap
0x7000 -- 0x8000	reserved
0x8000 -- 0xe600	g723 datas				dmswap and backup
0xe600 -- 0xf000	reserved
0xf000 -- 0xffff	dtmf dec 				pmswap

sdram hi = 0x0a
0x0000 -- 0x1000	g729 main				pmin
0x1000 -- 0x2000	g729 enc init			pmswap
0x2000 -- 0x3000	g729 enc1				pmswap
0x3000 -- 0x4000	g729 enc2				pmswap
0x4000 -- 0x5000	g729 enc3				pmswap
0x5000 -- 0x6000	g729 enc4				pmswap
0x6000 -- 0x7000	g729 enc5				pmswap
0x7000 -- 0x8000	g729 enc6				pmswap
0x8000 -- 0x9000	g729 enc7				pmswap
0x9000 -- 0xa000	g729 enc8				pmswap
0xa000 -- 0xb000	g729 enc9				pmswap
0xb000 -- 0xc000	g729 enc10				pmswap
0xc000 -- 0xd000	g729 enc11				pmswap
0xd000 -- 0xe000	g729 enc12				pmswap
0xe000 -- 0xf000	g729 enc13				pmswap
0xf000 -- 0xffff	g729 enc14				pmswap

sdram hi = 0x0b
0x0000 -- 0x1000	g729 dec init			pmswap	
0x1000 -- 0x2000	g729 dec1				pmswap
0x2000 -- 0x3000	g729 dec2				pmswap
0x3000 -- 0x4000	g729 dec3				pmswap
0x4000 -- 0x5000	g729 dec4				pmswap
0x5000 -- 0x6000	g729 dec5				pmswap
0x6000 -- 0x7000	g729 dec6				pmswap
0x7000 -- 0xab00	g729 datas				dmswap and backup
0xc000 -- 0xd000	reserved
0xd000 -- 0xd000	aec init				pmswap
0xe000 -- 0xf000	aec code				pmswap
0xf000 -- 0xffff	Jia zk aec data			backup

sdram hi = 0x15
0x0000 -- 0x1000	ilbc main				pmin
0x1000 -- 0x2000	ilbc enc init			pmswap
0x2000 -- 0x3000	ilbc enc1				pmswap
0x3000 -- 0x4000	ilbc enc2				pmswap
0x4000 -- 0x5000	ilbc enc3				pmswap
0x5000 -- 0x6000	ilbc enc4				pmswap
0x6000 -- 0x7000	ilbc enc5				pmswap
0x7000 -- 0x8000	ilbc enc6				pmswap
0x8000 -- 0x9000	ilbc dec init			pmswap
0x9000 -- 0xa000	ilbc dec1				pmswap
0xa000 -- 0xb000	ilbc dec2				pmswap
0xb000 -- 0xc000	ilbc dec3				pmswap
0xc000 -- 0xd000	ilbc dec4				pmswap
0xd000 -- 0xe000	ilbc dec5				pmswap
0xe000 -- 0xf000	ilbc dec6				pmswap
0xf000 -- 0xffff	reserved
