Skip to content

Commit

Permalink
Fix reversed polarity in SBE console check
Browse files Browse the repository at this point in the history
Had the if check reversed, now it isn't

Change-Id: I88d2a698539188c2f2bcd71d332b8d3762bf821b
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67558
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
dcrowell77 committed Oct 17, 2018
1 parent ead1bda commit 8652b51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/usr/targeting/targetservicestart.C
Original file line number Diff line number Diff line change
Expand Up @@ -491,11 +491,11 @@ static void initializeAttributes(TargetService& i_targetService,
l_pTopLevel->setAttr<ATTR_RISK_LEVEL>(l_riskLevel);

//Set the SBE Console enablement based on our console enablement
ATTR_LPC_CONSOLE_CNFG_type l_consoleOn = LPC_CONSOLE_CNFG_ENABLE;
#ifdef CONFIG_CONSOLE
l_consoleOn = LPC_CONSOLE_CNFG_DISABLE;
ATTR_LPC_CONSOLE_CNFG_type l_console = LPC_CONSOLE_CNFG_ENABLE;
#ifndef CONFIG_CONSOLE
l_console = LPC_CONSOLE_CNFG_DISABLE;
#endif
l_pMasterProcChip->setAttr<ATTR_LPC_CONSOLE_CNFG>(l_consoleOn);
l_pMasterProcChip->setAttr<ATTR_LPC_CONSOLE_CNFG>(l_console);

}

Expand Down

0 comments on commit 8652b51

Please sign in to comment.