soc: stm32: add initial soc support for stm32mp1 family
Add the initial SoC support for the STM32MP1 family. The code was tested on STM32MP157c, but should work on any STM32MP1XX currently available. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
This commit is contained in:
parent
498b49469a
commit
e0afd7e580
11 changed files with 309 additions and 0 deletions
23
soc/arm/st_stm32/stm32mp1/linker.ld
Normal file
23
soc/arm/st_stm32/stm32mp1/linker.ld
Normal file
|
@ -0,0 +1,23 @@
|
|||
/* linker.ld - Linker command/script file */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2019 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
|
||||
#include <arch/arm/cortex_m/scripts/linker.ld>
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
|
||||
#include <linker/rel-sections.ld>
|
||||
#ifdef CONFIG_RPROC_RSC_TABLE
|
||||
|
||||
SECTION_PROLOGUE(.resource_table,, SUBALIGN(4))
|
||||
{
|
||||
KEEP(*(.resource_table*))
|
||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||
#endif
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue