diff options
author | Ćukasz Majewski <l.majewski@samsung.com> | 2015-03-04 10:54:48 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-03-04 20:01:01 +0900 |
commit | c8b71a35289112f77691df0d0b4a97ef19dac87b (patch) | |
tree | 1848f2ad0d7552ed2c47d062f430c852c60a92cb /common/cmd_immap.c | |
parent | 19e5118d1c4c9bd2dc9e52355774c8ea73839b5b (diff) | |
download | u-boot-imx-c8b71a35289112f77691df0d0b4a97ef19dac87b.zip u-boot-imx-c8b71a35289112f77691df0d0b4a97ef19dac87b.tar.gz u-boot-imx-c8b71a35289112f77691df0d0b4a97ef19dac87b.tar.bz2 |
samsung: board: fix: Define loop iterator as an unsigned int to suppress gcc 4.8 warning
This patch suppress following warning:
board/samsung/common/board.c:95:32: warning: iteration 4u invokes undefined behavior [-Waggressive-loop-optimizations]
addr = CONFIG_SYS_SDRAM_BASE + (i * SDRAM_BANK_SIZE);
^
board/samsung/common/board.c:94:2: note: containing loop
about possible signed integer overflow at gcc 4.8.2 (odroid board)
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'common/cmd_immap.c')
0 files changed, 0 insertions, 0 deletions