summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorzbao <fishbaozi@gmail.com>2012-07-23 19:44:29 +0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-07-25 22:15:17 +0200
commit405cfe219a77895692aa50a1e8416c2607402c39 (patch)
tree545f0eac702bc18d75363c4ce86dc405490c0126 /src/mainboard/amd
parentace7a6aadd9bc07de1e7570ef973ad25bdae577e (diff)
Change multiply ONE_MB to bit shifting.
2048 * ONE_MB will cause warning, src/northbridge/amd/agesa/family15tn/northbridge.c:667:50: warning: integer overflow in expression [-Woverflow] I guess it will change the data type to signed integer. I think the bit shifting is better. Change-Id: I823f7ead1f7d622bf653cb3bf2ae2343f5e76805 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: zbao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/1263 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/amd')
0 files changed, 0 insertions, 0 deletions