summaryrefslogtreecommitdiff
path: root/include/configs/mx6sabresd.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-07-01 05:16:17 (GMT)
committerSonic Zhang <sonic.zhang@analog.com>2013-07-31 08:56:04 (GMT)
commit53086befe88cc345ecb802b8dee79337f3ece2c7 (patch)
tree7147bbbb5d5198b54c797dedb4e503aa7b929042 /include/configs/mx6sabresd.h
parent9868b1426315fc5ac4883b5267d5337b2dfcbd95 (diff)
downloadu-boot-fsl-qoriq-53086befe88cc345ecb802b8dee79337f3ece2c7.tar.xz
blackfin: Fix using gd->baudrate before setting its value
Current code uses gd->baudrate before setting its value. Besides, I got below build warning which is introduced by commit ddb5c5be "blackfin: add baudrate to bdinfo". board.c:235:3: warning: passing argument 1 of 'simple_strtoul' makes pointer from integer without a cast [enabled by default] include/vsprintf.h:27:7: note: expected 'const char *' but argument is of type 'unsigned int' This patch ensures we get the baudrate setting before using it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'include/configs/mx6sabresd.h')
0 files changed, 0 insertions, 0 deletions