HAOUAS Elyes has uploaded this change for review.

View Change

sb/intel/i82801ix/sata.c: Use big enough type for left-shift

Change-Id: If052c7af67319e6b183eb1ba21834082e1695582
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M src/southbridge/intel/i82801ix/sata.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/31411/1
diff --git a/src/southbridge/intel/i82801ix/sata.c b/src/southbridge/intel/i82801ix/sata.c
index 1968694..ee2ac53 100644
--- a/src/southbridge/intel/i82801ix/sata.c
+++ b/src/southbridge/intel/i82801ix/sata.c
@@ -43,7 +43,7 @@
/* Set AHCI access mode.
No other ABAR registers should be accessed before this. */
reg32 = read32(abar + 0x04);
- reg32 |= (1 << 31);
+ reg32 |= (1UL << 31);
write32(abar + 0x04, reg32);

/* CAP (HBA Capabilities) : enable power management */

To view, visit change 31411. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If052c7af67319e6b183eb1ba21834082e1695582
Gerrit-Change-Number: 31411
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange