common/console.c: use CONFIG_VAL() with PRE_CON_BUF_* variables
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 3 May 2022 12:37:39 +0000 (14:37 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 11 May 2022 13:22:24 +0000 (09:22 -0400)
commitcff29636933a2ed79f01422d82b73dc6fb05f7fd
treefc646e0a9d040fe7db468a84cb6759ea4db38481
parent042e87e8359a73e003d5b77e01a839859eb7d9cb
common/console.c: use CONFIG_VAL() with PRE_CON_BUF_* variables

There is currently no support for PRE_CONSOLE_BUFFER in SPL, but if
and when that gets implemented, one would almost certainly want to use
a different address and/or size for the buffer (e.g., U-Boot proper
might specify an address in DRAM and a generous buffer, while SPL
would be much more constrained).

So a prerequisite for adding SPL_PRE_CONSOLE_BUFFER is to make the
code use SPL_-specific values. No functional change.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
common/console.c