diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2019-07-12 16:47:39 +0530 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-08-15 17:52:07 +1000 |
commit | af98c56312b4521985f40223209d64e7715bb49a (patch) | |
tree | 7600002cbfe57d73459ee1f9e7dc894620d957c6 /hdata | |
parent | ca222757f288bcff710ff557f49a9ec18ee588a4 (diff) | |
download | skiboot-af98c56312b4521985f40223209d64e7715bb49a.zip skiboot-af98c56312b4521985f40223209d64e7715bb49a.tar.gz skiboot-af98c56312b4521985f40223209d64e7715bb49a.tar.bz2 |
FSP/MDST: Rename fsp-mdst-table.c -> fsp-sysdump.c
MDST is a ntuple inside SPIRAH. Its just a interface to pass memory ranges
to be captured as part of dump to FSP/Hostboot. Today OPAL is using MDST
ntuple to pass list of memory region (mostly OPAL console and host dmesg)
to be collected as part of SYSDUMP. Soon we are going to support OPAL MPIPL
feature (aka Memory Preserving IPL). Even MPIPL uses MDST/MDDT table.
Hence rename files based on feature instead of some table name:
- fsp-mdst-table.c -> fsp-sysdump.c
- fsp-mdst-table.h -> opal-dump.h (This will cater both SYSDUMP and MPIPL)
- Rename structure -> dump_mdst_table -> mdst_table
This patch does renaming and header file adjustment. No functionality changes.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
[oliver: rebased]
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/spira.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hdata/spira.c b/hdata/spira.c index f6003ea..1bcbb6c 100644 --- a/hdata/spira.c +++ b/hdata/spira.c @@ -9,7 +9,7 @@ #include <interrupts.h> #include <ccan/str/str.h> #include <chip.h> -#include <fsp-mdst-table.h> +#include <opal-dump.h> #include <fsp-attn.h> #include <fsp-leds.h> @@ -81,9 +81,9 @@ __section(".cpuctrl.data") struct cpu_ctl_init_data cpu_ctl_init_data = { * addresses, we set the top bit to 1 on physical addresses */ -extern struct dump_mdst_table init_mdst_table[]; +extern struct mdst_table init_mdst_table[]; -__section(".mdst.data") struct dump_mdst_table init_mdst_table[2] = { +__section(".mdst.data") struct mdst_table init_mdst_table[2] = { { .addr = CPU_TO_BE64(INMEM_CON_START | HRMOR_BIT), .type = CPU_TO_BE32(DUMP_REGION_CONSOLE), |