Signed-off-by: Kerry She <Kerry.she@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5749
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
*valid = 0;
- if (!pDCTstat->GangedMode) { // FIXME: not used.
+ if (!pDCTstat->GangedMode) {
reg_off = 0x100 * Channel;
}
/* get the local base addr of the chipselect */
- reg = 0x40 + (receiver << 2);
+ reg = 0x40 + (receiver << 2) + reg_off;
val = Get_NB32(dev, reg);
val &= ~0x0F;