spl: Add a comment to spl_set_bd()
authorSimon Glass <sjg@chromium.org>
Fri, 16 Nov 2018 01:43:58 +0000 (18:43 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 26 Nov 2018 13:25:34 +0000 (08:25 -0500)
commitc21f407bf01cf497fd03fe404c1f06bdb36c88f9
treeae4b9a166a0bfb21272d581bcd227b578b37c5d8
parentaedc08b297b1682ac12acb81d0867606f422a15c
spl: Add a comment to spl_set_bd()

There is a strange feature to set global_data to a data-section variable
early in SPL. This only works if SPL actually has access to SRAM which is
not the case on x86, for eaxmple. Add a comment to this effect.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c