]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: set 38x and 39x AVS on lower frequency
authorBaruch Siach <baruch@tkos.co.il>
Wed, 10 Jul 2019 15:23:04 +0000 (18:23 +0300)
committerStefan Roese <sr@denx.de>
Thu, 11 Jul 2019 08:58:03 +0000 (10:58 +0200)
commitcc66ebdeeca5c4ed095bbd521b748bb009d99728
treecbf12ec006fcf57060d01daa7a3a1503a88a1008
parentfd9d70d7383d7f3afa54af4308c78ce1c99dbddb
arm: mvebu: set 38x and 39x AVS on lower frequency

Reduce Auto Voltage Scaling VDD limit when core frequency is lower than
1600MHz. This reduces core voltage level from 1.25V to 1.15V, which
saves power.

The code is taken from Marvell's U-Boot 2013.01 revision 18.06.

Reviewed-by: Chris Packham <judge.packham@gmail.com>
Tested-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/include/mach/cpu.h
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h
arch/arm/mach-mvebu/spl.c