diff options
author | Lukasz Majewski <l.majewski@majess.pl> | 2015-07-08 23:43:18 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-09-07 13:41:04 +0200 |
commit | a7e6892ffb625e5a335538f937d56005aa1480c5 (patch) | |
tree | d0ffbc0b9077da3a03408b8070bd318a35e5bea6 /board/h2200/h2200.c | |
parent | 33a6103578680ed41a946214462703df2c3646b2 (diff) | |
download | u-boot-imx-a7e6892ffb625e5a335538f937d56005aa1480c5.zip u-boot-imx-a7e6892ffb625e5a335538f937d56005aa1480c5.tar.gz u-boot-imx-a7e6892ffb625e5a335538f937d56005aa1480c5.tar.bz2 |
dfu: Delete superfluous initialization of the dfu_buf_size static variable
After extension of the dfu_get_buf() to also setup (implicitly) the dfu_buf_size
variable it is not needed to set dfu_buf_size to CONFIG_SYS_DFU_DATA_BUF_SIZE.
This variable is set in the dfu_get_buf() by not only considering
CONFIG_SYS_DFU_DATA_BUF but more importantly the "dfu_bufsiz" env variable.
Therefore, dfu_get_buf() should be used for initialization.
Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
Reviewed-by: Przemyslaw Marczak <p.marczak@samsung.com>
Diffstat (limited to 'board/h2200/h2200.c')
0 files changed, 0 insertions, 0 deletions