rs780: correct comment in switching_gpp_configurations()

Change-Id: I6417a92523eea7307d080669fbc4e16ee28c8a6c
Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Reviewed-on: http://review.coreboot.org/524
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Jonathan A. Kollasch 2012-01-07 10:17:50 -06:00 committed by Stefan Reinauer
parent f61fff92e4
commit b5d81eb43d
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ static void switching_gpp_configurations(device_t nb_dev, device_t sb_dev)
reg = nbmisc_read_index(nb_dev, 0x22); reg = nbmisc_read_index(nb_dev, 0x22);
reg |= 1 << 14; reg |= 1 << 14;
nbmisc_write_index(nb_dev, 0x22, reg); nbmisc_write_index(nb_dev, 0x22, reg);
/* 5.6.2.2. sets desired GPPSB configurations, bit4-7 */ /* 5.6.2.2. sets desired GPP configurations, bit7-10 */
reg = nbmisc_read_index(nb_dev, 0x2D); reg = nbmisc_read_index(nb_dev, 0x2D);
reg &= ~(0xF << 7); /* clean */ reg &= ~(0xF << 7); /* clean */
reg |= cfg->gpp_configuration << 7; reg |= cfg->gpp_configuration << 7;