google/veyron_rialto: Throttle to 1416MHz @ 1200mV in bootblock

The 1392MHz value used to throttle the RK3288 earlier was somewhat
arbitrary. This patch brings the throttling in sync with the operating
points specified in the Linux device tree for RK3288.

BUG=chrome-os-partner:42054
BRANCH=none
TEST=Saw print statement in image.serial.bin indicating that APLL
was set to the desired frequency.

Change-Id: Ibe570267bbfe23f010ad5e1ea651356291b9c63c
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: a146f23b13cb0f6da93ada65648cf33ecfaaa7d6
Original-Signed-off-by: David Hendricks <dhendrix@chromium.org>
Original-Change-Id: I6bcdb5fd6ffa3f9a22e79c519bdb7980492e2318
Original-Reviewed-on: https://chromium-review.googlesource.com/302633
Reviewed-on: http://review.coreboot.org/12137
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
David Hendricks 2015-09-25 15:21:35 -07:00 committed by Patrick Georgi
parent 4a14dc2fd9
commit fd9cdf6dec
1 changed files with 1 additions and 3 deletions

View File

@ -63,9 +63,7 @@ void bootblock_mainboard_init(void)
/* Slowly raise to max CPU voltage to prevent overshoot */ /* Slowly raise to max CPU voltage to prevent overshoot */
rk808_configure_buck(1, 1200); rk808_configure_buck(1, 1200);
udelay(175);/* Must wait for voltage to stabilize,2mV/us */ udelay(175);/* Must wait for voltage to stabilize,2mV/us */
rk808_configure_buck(1, 1400); rkclk_configure_cpu(APLL_1416_MHZ);
udelay(100);/* Must wait for voltage to stabilize,2mV/us */
rkclk_configure_cpu(APLL_1392_MHZ);
/* i2c1 for tpm */ /* i2c1 for tpm */
write32(&rk3288_grf->iomux_i2c1, IOMUX_I2C1); write32(&rk3288_grf->iomux_i2c1, IOMUX_I2C1);