diff options
author | zbao <fishbaozi@gmail.com> | 2012-07-23 19:44:29 +0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-07-25 22:15:17 +0200 |
commit | 405cfe219a77895692aa50a1e8416c2607402c39 (patch) | |
tree | 545f0eac702bc18d75363c4ce86dc405490c0126 /src/mainboard/amd | |
parent | ace7a6aadd9bc07de1e7570ef973ad25bdae577e (diff) | |
download | coreboot-405cfe219a77895692aa50a1e8416c2607402c39.tar.xz |
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