diff options
author | Doug Anderson <dianders@chromium.org> | 2011-10-04 13:06:33 -0700 |
---|---|---|
committer | Doug Anderson <dianders@chromium.org> | 2011-10-05 10:53:21 -0700 |
commit | 77a74a08db0c3c777f131a6a535f0ee8697ef223 (patch) | |
tree | ff2590dee35d82a57d208592d1b23bc6fa5435a4 /common/cmd_nvedit.c | |
parent | aa59f395007bcbda4b10c07e79637540378c36a7 (diff) |
CHROMIUM: Fix gcc 4.6.0 warning if CONFIG_GENERIC_MMC not defined.
Warning was:
board.c: In function 'board_init_r':
board.c:514:8: error: variable 'bd' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
The "fix" is to just use the "bd" shortcut in more places.
BUG=None
TEST=Compiled with waluigi patches (pull from
http://gerrit.chromium.org/gerrit/8705) w/ no warnings.
TEST=Compiled / booted legacy firmware for Kaen to u-boot prompt.
Change-Id: I73d690650b5a09bc456f502ea4b3612b41c78f37
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/8750
Diffstat (limited to 'common/cmd_nvedit.c')
0 files changed, 0 insertions, 0 deletions