• Lionel Debieve's avatar
    stm32mp1: add authentication support for stm32image · 4bdb1a7a
    Lionel Debieve authored
    
    This commit adds authentication binary support for STM32MP1.
    It prints the bootrom authentication result if signed
    image is used and authenticates the next loaded STM32 images.
    It also enables the dynamic translation table support
    (PLAT_XLAT_TABLES_DYNAMIC) to use bootrom services.
    Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
    Change-Id: Iba706519e0dc6b6fae1f3dd498383351f0f75f51
    4bdb1a7a
stm32mp157c-security.dtsi 656 Bytes
/*
 * Copyright (c) 2017-2019, STMicroelectronics - All Rights Reserved
 *
 * SPDX-License-Identifier:	GPL-2.0+	BSD-3-Clause
 */

/ {
	soc {
		stgen: stgen@5c008000 {
			compatible = "st,stm32-stgen";
			reg = <0x5C008000 0x1000>;
			status = "okay";
		};
	};
};

&bsec {
	mac_addr: mac_addr@e4 {
		reg = <0xe4 0x6>;
		status = "okay";
		secure-status = "okay";
	};
	/* Spare field to align on 32-bit OTP granularity  */
	spare_ns_ea: spare_ns_ea@ea {
		reg = <0xea 0x2>;
		status = "okay";
		secure-status = "okay";
	};
};

&hash1 {
	secure-status = "okay";
};

&sdmmc1 {
	compatible = "st,stm32-sdmmc2";
};

&sdmmc2 {
	compatible = "st,stm32-sdmmc2";
};