coreboot-kgpe-d16/src/northbridge/amd/gx2
Stefan Reinauer 617536e580 amd/gx2 + amd/lx: Fix shift overflow issue
gcc 6.1 complains that SMM_OFFSET << 8 is larger than the register
it is assigned to (rightly so):

src/northbridge/amd/gx2/northbridgeinit.c:196:23: error: result of
    '1077936128 << 8' requires 40 bits to represent, but 'int' only
    has 32 bits [-Werror=shift-overflow=]
  msr.lo = (SMM_OFFSET << 8) & 0xfff00000;
                       ^~

Change-Id: Ib0d669268202d222574abee335a6a65c8a255cc7
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/14617
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
2016-05-06 19:04:51 +02:00
..
grphinit.c
Kconfig
Makefile.inc
northbridge.c
northbridge.h
northbridgeinit.c amd/gx2 + amd/lx: Fix shift overflow issue 2016-05-06 19:04:51 +02:00
pll_reset.c
raminit.c northbridge/amd/{lx,gx2}: remove immediate accesses of 0 2016-04-16 01:50:55 +02:00
raminit.h