Skip to content

Commit

Permalink
soc/power9/homer.c: fix frame size in pm_pss_init()
Browse files Browse the repository at this point in the history
Its value is 32.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
  • Loading branch information
SergiiDmytruk committed Feb 19, 2022
1 parent 16e4179 commit ae8e8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/soc/ibm/power9/homer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,7 @@ static void pm_pss_init(uint8_t chip)
*/
rscom_and_or(chip, PU_SPIPSS_ADC_CTRL_REG0,
~PPC_BITMASK(0, 5) & ~PPC_BITMASK(12, 17),
PPC_PLACE(8, 0, 6));
PPC_PLACE(0x20, 0, 6));

/*
* 0 adc_fsm_enable = 1
Expand Down Expand Up @@ -1530,7 +1530,7 @@ static void pm_pss_init(uint8_t chip)
*/
rscom_and_or(chip, PU_SPIPSS_P2S_CTRL_REG0,
~PPC_BITMASK(0, 5) & ~PPC_BITMASK(12, 17),
PPC_PLACE(8, 0, 6));
PPC_PLACE(0x20, 0, 6));

/*
* 0 p2s_fsm_enable = 1
Expand Down

0 comments on commit ae8e8a0

Please sign in to comment.