forked from luck/tmp_suning_uos_patched
ARC: fix actionpoints configuration detection
Fix reversed logic while actionpoints configuration (full/min)
detection.
Fixies: 7dd380c338
("ARC: boot log: print Action point details")
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
parent
f8a15f9766
commit
cdf92962ad
|
@ -212,7 +212,7 @@ static void read_arc_build_cfg_regs(void)
|
|||
READ_BCR(ARC_REG_AP_BCR, ap);
|
||||
if (ap.ver) {
|
||||
cpu->extn.ap_num = 2 << ap.num;
|
||||
cpu->extn.ap_full = !!ap.min;
|
||||
cpu->extn.ap_full = !ap.min;
|
||||
}
|
||||
|
||||
READ_BCR(ARC_REG_SMART_BCR, bcr);
|
||||
|
|
Loading…
Reference in New Issue
Block a user