diff options
author | Iru Cai <mytbk920423@gmail.com> | 2017-07-28 23:40:44 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-05 14:25:15 +0000 |
commit | a0ad6e7873188ddb3a096d49548a7464450f914b (patch) | |
tree | 570e4481bbba787f33e7b78993d028c8ac114bc5 /src/mainboard/intel/kunimitsu/dsdt.asl | |
parent | 13a500a404083c250e28816a394ee8d2849f4028 (diff) |
northbridge/amd/lx: Fix function setShadowRCONF
GCC 7.1 found an int-in-bool-context in northbridgeinit.c. The logical
`&&` in `if (shadowByte && (1 << bit))` should be changed to bitwise
`&`.
Also fix off-by-one error with the bitmasks.
Change-Id: I7d7720121d4730254542372282f5561739e7214b
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/20808
Reviewed-by: Piotr Król <piotr.krol@3mdeb.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/kunimitsu/dsdt.asl')
0 files changed, 0 insertions, 0 deletions