t210: set CAR2PMC_CPU_ACK_WIDTH to 0
HW team has suggested to set CAR2PMC_CPU_ACK_WIDTH to 0. BUG=None BRANCH=None TEST=Tested on Smaug; still boot to kernel Change-Id: I4d13a4048b73455b16da7a40c408c912fa97e4e7 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 8891a79e72af26d986af9e415149d4ca0aa6fedd Original-Change-Id: I850a6756d7743993802fb85aad403e4cbef7a661 Original-Signed-off-by: Yen Lin <yelin@nvidia.com> Original-Reviewed-on: https://chromium-review.googlesource.com/282416 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/10841 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
13fb74927e
commit
cad9e7a6ec
|
@ -92,9 +92,26 @@ static void request_ram_repair(void)
|
|||
stopwatch_duration_usecs(&sw));
|
||||
}
|
||||
|
||||
static void set_cpu_ack_width(uint32_t val)
|
||||
{
|
||||
uint32_t reg;
|
||||
|
||||
reg = read32(CLK_RST_REG(cpu_softrst_ctrl2));
|
||||
reg &= ~CAR2PMC_CPU_ACK_WIDTH_MASK;
|
||||
reg |= val;
|
||||
write32(CLK_RST_REG(cpu_softrst_ctrl2), reg);
|
||||
}
|
||||
|
||||
void ccplex_cpu_prepare(void)
|
||||
{
|
||||
enable_cpu_clocks();
|
||||
|
||||
/*
|
||||
* The POR value of CAR2PMC_CPU_ACK_WIDTH is 0x200.
|
||||
* The recommended value is 0.
|
||||
*/
|
||||
set_cpu_ack_width(0);
|
||||
|
||||
enable_cpu_power_partitions();
|
||||
|
||||
mainboard_configure_pmc();
|
||||
|
|
|
@ -534,6 +534,9 @@ enum {
|
|||
#define PCLK_DIVISOR_SHIFT 0
|
||||
#define PCLK_DIVISOR_MASK (3 << AHB_RATE_SHIFT)
|
||||
|
||||
/* CPU_SOFTRST_CTRL2_0 0x388 */
|
||||
#define CAR2PMC_CPU_ACK_WIDTH_MASK 0xfff
|
||||
|
||||
/* CRC_CLK_SOURCE_MSELECT_0 0x3b4 */
|
||||
#define MSELECT_CLK_SRC_PLLP_OUT0 (0 << 29)
|
||||
|
||||
|
|
Loading…
Reference in New Issue