mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Fix rs690 bug about GPPSB configuration.
Signed-off-by: Maggie Li <maggie.li@amd.com> Reviewed-by: Zheng Bao <Zheng.bao@amd.com> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3891 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
2e5481356f
commit
cab81c03eb
1 changed files with 2 additions and 2 deletions
|
@ -133,8 +133,8 @@ static void switching_gpp_configurations(device_t nb_dev, device_t sb_dev)
|
|||
|
||||
/* sets desired GPPSB configurations, bit4-7 */
|
||||
reg = nbmisc_read_index(nb_dev, 0x67);
|
||||
reg &= 0xff0f; /* clean */
|
||||
reg |= cfg->gpp_configuration;
|
||||
reg &= 0xffffff0f; /* clean */
|
||||
reg |= cfg->gpp_configuration << 4;
|
||||
nbmisc_write_index(nb_dev, 0x67, reg);
|
||||
|
||||
/* read bit14 and write back its inverst value */
|
||||
|
|
Loading…
Add table
Reference in a new issue