diff options
author | Jorge Ramirez-Ortiz <jorge@foundries.io> | 2021-10-13 19:04:47 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2022-02-04 13:16:45 +0100 |
commit | 25a91f300578d5905029d5f44799ef71a755ff02 (patch) | |
tree | d4f7d56391f8b56047fbe5b8226e8b5dbf793eeb /arch/arm/mach-zynqmp | |
parent | 19fdc166f78a68bec60ca13b0c71a739fb4d0a73 (diff) |
arm64: zynqmp: Print the secure boot status information
Output the secure boot configuration to the console.
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Link: https://lore.kernel.org/r/20211013170447.10414-1-jorge@foundries.io
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynqmp')
-rw-r--r-- | arch/arm/mach-zynqmp/include/mach/hardware.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-zynqmp/include/mach/hardware.h b/arch/arm/mach-zynqmp/include/mach/hardware.h index e6a3ee4a57..a70d6d611b 100644 --- a/arch/arm/mach-zynqmp/include/mach/hardware.h +++ b/arch/arm/mach-zynqmp/include/mach/hardware.h @@ -152,8 +152,12 @@ struct apu_regs { #define CSU_JTAG_CHAIN_WR_SETUP GENMASK(1, 0) #define CSU_PCAP_PROG_RELEASE_PL BIT(0) +#define ZYNQMP_CSU_STATUS_AUTHENTICATED BIT(0) +#define ZYNQMP_CSU_STATUS_ENCRYPTED BIT(1) + struct csu_regs { - u32 reserved0[4]; + u32 status; + u32 reserved0[3]; u32 multi_boot; u32 reserved1[7]; u32 jtag_chain_status_wr; |