]> git.baikalelectronics.ru Git - uboot.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)
commit9647d01d246d2bc1a791ab2c02083212665d4276
treecbf12ec006fcf57060d01daa7a3a1503a88a1008
parentd47ea0a896d071420e56813492ccedeb89652e0d
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