[U-Boot] Silencing SPL output
Heiko Schocher
hs at denx.de
Mon Oct 16 04:24:54 UTC 2017
Hello Chris,
Am 16.10.2017 um 02:38 schrieb Chris Packham:
> This is probably something of a foot-gun but here we go...
>
> I was wondering if it's worth providing the ability to silence the
> output from the SPL. CONFIG_SILENT_CONSOLE exist for u-boot proper but
> the SPL preloader_console_init bypasses anything that would set
> GD_FLG_SILENT. Even if it didn't the SPL probably doesn't have access
> to any environment that would allow it to be set/unset.
>
> I was thinking about adding a SPL specific CONFIG option that would
> set GD_FLG_SILENT (probably in spl_init). Aside from re-compiling
> there wouldn't be any way of making the SPL loud. Is this a reasonable
> idea or is it just asking for boards to be bricked with no way of
> telling what went wrong?
I have a at91 based board in mainline, which has no SPL output
enabled (as there is no space for it), see:
configs/smartweb_defconfig
Do not define
CONFIG_SPL_SERIAL_SUPPORT=y
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list