diff options
author | Cosmin-Florin Aluchenesei <aluchenesei.cosmin-florin@nxp.com> | 2021-10-07 13:07:44 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2021-11-09 17:18:06 +0530 |
commit | ed06772a605db6a3eb87941fa0aacc57ac879598 (patch) | |
tree | 38b113221284f1212adf52b151da6522f5cb5dde /include | |
parent | a48492679cb7c1ab4465af457defc3ba6dc7d4ec (diff) | |
download | u-boot-ed06772a605db6a3eb87941fa0aacc57ac879598.zip u-boot-ed06772a605db6a3eb87941fa0aacc57ac879598.tar.gz u-boot-ed06772a605db6a3eb87941fa0aacc57ac879598.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/fsl-mc/fsl_mc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/fsl-mc/fsl_mc.h b/include/fsl-mc/fsl_mc.h index a8b072a..07a46a4 100644 --- a/include/fsl-mc/fsl_mc.h +++ b/include/fsl-mc/fsl_mc.h @@ -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); |