spl: Add a comment to spl_set_bd()
authorSimon Glass <[email protected]>
Fri, 16 Nov 2018 01:43:58 +0000 (18:43 -0700)
committerTom Rini <[email protected]>
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 <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
common/spl/spl.c