drivers: net: fsl-mc: add a command which dumps the MC log
Extended fsl_mc command adding an extra option dump_log Signed-off-by: Cosmin-Florin Aluchenesei <aluchenesei.cosmin-florin@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
committed by
Priyanka Jain
parent
a48492679c
commit
ed06772a60
@@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Copyright (C) 2014 Freescale Semiconductor
|
||||
* Copyright 2021 NXP
|
||||
*/
|
||||
|
||||
#ifndef __FSL_MC_H__
|
||||
@@ -52,6 +53,14 @@ struct mc_ccsr_registers {
|
||||
u32 reg_error[];
|
||||
};
|
||||
|
||||
struct log_header {
|
||||
u32 magic_word;
|
||||
char reserved[4];
|
||||
u32 buf_start;
|
||||
u32 buf_length;
|
||||
u32 last_byte;
|
||||
};
|
||||
|
||||
void fdt_fsl_mc_fixup_iommu_map_entry(void *blob);
|
||||
int get_mc_boot_status(void);
|
||||
int get_dpl_apply_status(void);
|
||||
|
||||
Reference in New Issue
Block a user