]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitc199976f9679b3693767f302eb8732c11dc7681a
treeae4b9a166a0bfb21272d581bcd227b578b37c5d8
parent9fc47e4778b8901e192b5035a6f0a711a0460839
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