]> git.sur5r.net Git - u-boot/commit
cmd: spl: fix compiling error when CONFIG_CMD_SPL_WRITE_SIZE not defined
authorYork Sun <york.sun@nxp.com>
Thu, 28 Sep 2017 15:42:11 +0000 (08:42 -0700)
committerYork Sun <york.sun@nxp.com>
Mon, 9 Oct 2017 15:48:44 +0000 (08:48 -0700)
commitb65ac633f52da596cfa573bb4a597e2edd2318c8
tree827ade974e2168095f7378d67004c170377c2f9d
parentd1fc0a31b5f307c92b7a047d4f90d5ad2e54cdcc
cmd: spl: fix compiling error when CONFIG_CMD_SPL_WRITE_SIZE not defined

CONFIG_CMD_SPL_WRITE_SIZE is used for writing parameters to non-volatile
storage. So far it is only used for NAND. Fix compiling error when this
macro is not used for SD.

Signed-off-by: York Sun <york.sun@nxp.com>
CC: Anatolij Gustschin <agust@denx.de>
cmd/spl.c