spl: Add a parameter to spl_set_header_raw_uboot()
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:19:52 +0000 (18:19 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 18:48:15 +0000 (14:48 -0400)
commitd95ceb97c0ca158605372634a860651ca925915a
tree0fc61807e410cd256ec15bd02787e7cb3a31d8cb
parente50d76cc3c2894267a4b36a675abb957d6e3df8c
spl: Add a parameter to spl_set_header_raw_uboot()

Rather than act on the global variable, pass the required struct in as a
parameter.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c
common/spl/spl_nand.c
include/spl.h