diff options
author | Julien Viard de Galbert <jviarddegalbert@online.net> | 2018-03-07 15:48:54 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-03-07 21:10:07 +0000 |
commit | 0e755d4f7a6458b6b12008d89a6c689a5b65a03c (patch) | |
tree | c7c6ee42f8b3e26954550242de3a38b2beb30c97 /src/mainboard/scaleway/tagada/romstage.c | |
parent | 9d2e597908d4467bd325a0b581f978e5639c8b68 (diff) |
mb/scaleway/tagada: Add bmcInfo interface
This interface gives access to configuration information stored in flash
by the Tagada BMC before booting the SoC.
Change-Id: I4351aa11b08bdf65e14706b261c532bbf8837aed
Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net>
Reviewed-on: https://review.coreboot.org/23813
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/scaleway/tagada/romstage.c')
-rw-r--r-- | src/mainboard/scaleway/tagada/romstage.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/scaleway/tagada/romstage.c b/src/mainboard/scaleway/tagada/romstage.c index d6a128209e..c29ff9dff7 100644 --- a/src/mainboard/scaleway/tagada/romstage.c +++ b/src/mainboard/scaleway/tagada/romstage.c @@ -20,6 +20,7 @@ #include <fsp/api.h> #include <fsp/soc_binding.h> #include <string.h> +#include "bmcinfo.h" void mainboard_config_gpios(void); void mainboard_memory_init_params(FSPM_UPD *mupd); @@ -32,6 +33,7 @@ void mainboard_config_gpios(void) size_t num; const struct pad_config *table; + printk(BIOS_SPEW, "Board Serial: %s.\n", bmcinfo_serial()); /* Configure pads prior to SiliconInit() in case there's any * dependencies during hardware initialization. */ @@ -50,7 +52,8 @@ void mainboard_config_gpios(void) void mainboard_memory_init_params(FSPM_UPD *mupd) { - mupd->FspmConfig.PcdFspDebugPrintErrorLevel = 3; // Verbose + mupd->FspmConfig.PcdFspDebugPrintErrorLevel = + bmcinfo_fsp_verbosity_level(); // Enable Rmt and Fast Boot by default, RMT will be run only on first // boot or when dimms change |