bdinfo: x86: vesa: Update fb_base to the correct value
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 20:17:02 +0000 (14:17 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 25 Jun 2020 17:24:13 +0000 (13:24 -0400)
commitc68a1ae6ab760d797f4dde2c5c671e18d0e2adb4
treed57377eec42fbfecfc3108d8b64b8061331fed3a
parentaef43ea0606deefc97ed085b16618f18a911cdb5
bdinfo: x86: vesa: Update fb_base to the correct value

Set this value in global_data so that it is reported correctly on x86
boards.

In fact, U-Boot allocates space for the frame buffer even though it is not
used. Then the FSP picks the address itself (e.g. 0xb0000000). So the
value set by U-Boot (high in memory with everything else that is
relocated), is not actually the correct value.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/fsp/fsp_graphics.c