diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-03-07 15:16:21 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-03-07 15:40:32 +1100 |
commit | 8e88933f7e2779a15aab81a57a5f5bb452f6533a (patch) | |
tree | f242ece2f270e38483481000a93b6e9afa5511dc /hdata/spira.c | |
parent | fb27dd8ac6c4c80511e2ca674a6886cd504e1a2c (diff) | |
download | skiboot-8e88933f7e2779a15aab81a57a5f5bb452f6533a.zip skiboot-8e88933f7e2779a15aab81a57a5f5bb452f6533a.tar.gz skiboot-8e88933f7e2779a15aab81a57a5f5bb452f6533a.tar.bz2 |
hdat: Parse BMC nodes much earlier
This moves the parsing of the BMC and LPC details to the start of the
HDAT parsing. This allows us to enable the Skiboot log console earlier
so we can get debug output while parsing the rest of the HDAT.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.c')
-rw-r--r-- | hdata/spira.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/hdata/spira.c b/hdata/spira.c index 4ebbc43..512784f 100644 --- a/hdata/spira.c +++ b/hdata/spira.c @@ -1230,6 +1230,9 @@ int parse_hdat(bool is_opal) dt_add_property_cells(dt_root, "#size-cells", 2); dt_add_property_string(dt_root, "lid-type", is_opal ? "opal" : "phyp"); + /* Add any BMCs and enable the LPC UART */ + bmc_parse(); + /* Create /vpd node */ dt_init_vpd_node(); @@ -1247,10 +1250,10 @@ int parse_hdat(bool is_opal) /* Parse MS VPD */ memory_parse(); - /* Add XSCOM node (must be before chiptod & IO ) */ + /* Add XSCOM node (must be before chiptod, IO and FSP) */ add_xscom(); - /* Add FSP */ + /* Add any FSPs */ fsp_parse(); /* Add ChipTOD's */ |