avs: a38x: Set AVS value according to High CPU frequency modes

	High frequency CPU mode (>1600MHz) require different AVS configuration:
	1. Armada38x was signed off for 1600/800 at 1.15V (AVS)
	2. Based on ATE/system correlation, in order to achieve higher speeds (1866MHz, 2000MHz)
	   we need to overdrive the chip to 1.25V (AVS)
	3. Current U-Boot (in the absence of SVC) - must align with this requirement and select
	   voltage between the two levels, based on S@R (CPU <= 1600MHz --> AVS@ 1.15V)

	This patch fixed instability issue for 1867/933Mhz.

Change-Id: I0ad47ef401d5de089df96696bd1b05793496f24c
Signed-off-by: Igor Patrik <igorp@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/19308
Tested-by: Star_Automation <star@marvell.com>
Reviewed-by: Omri Itach <omrii@marvell.com>
Tested-by: Omri Itach <omrii@marvell.com>
2 files changed