From: Vikas Manocha Date: Wed, 31 Jan 2018 10:22:55 -0800 Subject: [U-Boot] [PATCH 0/8] Add get_cpu_id for STM32 SoCs In-Reply-To: <1517414947-5016-1-git-send-email-patrice.chotard@st.com> References: <1517414947-5016-1-git-send-email-patrice.chotard@st.com> Message-ID: <6eeee214-17ee-9571-3169-eeccd93a573d@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Patrice, On 01/31/2018 08:08 AM, patrice.chotard at st.com wrote: > From: Patrice Chotard > > This series allows to get the cpu id of STM32 SoCs and to set > the environment variable "soc_name" with the corresponding SoC name. > > This will be useful in some development environment to retrieve files > correspondig to SoC family. can you provide some example ? We have the device tree compatible string to distinguish board & soc. Cheers, Vikas > > Patrice Chotard (8): > mach-stm32: Add get_cpu_id support > mach-stm32: Move BOARD_LATE_INIT flag to mach-stm32 Kconfig > board: stm32f429-discovery: Add set_env_soc_name() in > board_late_init() > board: stm32h743-evaluation: Add set_env_soc_name() in > board_late_init() > board: stm32f743-discovery: Add set_env_soc_name() in > board_late_init() > board: stm32f469-discovery: Add set_env_soc_name() in > board_late_init() > board: stm32f469-discovery: Add set_env_soc_name() in > board_late_init() > board: stm32f429-evaluation: Add set_env_soc_name() in > board_late_init() > > arch/arm/include/asm/arch-stm32f4/stm32.h | 2 + > arch/arm/include/asm/arch-stm32f7/stm32.h | 2 + > arch/arm/include/asm/arch-stm32h7/stm32.h | 4 ++ > arch/arm/mach-stm32/Kconfig | 3 ++ > arch/arm/mach-stm32/soc.c | 46 ++++++++++++++++++++++ > board/st/stm32f429-discovery/stm32f429-discovery.c | 7 ++++ > .../st/stm32f429-evaluation/stm32f429-evaluation.c | 7 ++++ > board/st/stm32f469-discovery/stm32f469-discovery.c | 7 ++++ > board/st/stm32f746-disco/stm32f746-disco.c | 2 + > board/st/stm32h743-disco/stm32h743-disco.c | 4 ++ > board/st/stm32h743-eval/stm32h743-eval.c | 4 ++ > include/configs/stm32f746-disco.h | 1 - > include/configs/stm32h743-disco.h | 1 - > include/configs/stm32h743-eval.h | 1 - > 14 files changed, 88 insertions(+), 3 deletions(-) >