mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 17:14:21 +00:00
refactor(st): move macros to common folder
As these definitions will be the same for STM32MP1 and STM32MP2, move PLATFORM_MTD_MAX_PAGE_SIZE and DWL_BUFFER_SIZE macro definition to the file: plat/st/common/include/stm32mp_common.h Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I480669d009d15fec753298f47b136e34fa240132
This commit is contained in:
parent
8af83a4483
commit
9883833c90
3 changed files with 6 additions and 6 deletions
|
@ -20,6 +20,12 @@
|
|||
/* FWU configuration (max supported value is 15) */
|
||||
#define FWU_MAX_TRIAL_REBOOT U(3)
|
||||
|
||||
/* Define maximum page size for NAND devices */
|
||||
#define PLATFORM_MTD_MAX_PAGE_SIZE U(0x1000)
|
||||
|
||||
/* Needed by STM32CubeProgrammer support */
|
||||
#define DWL_BUFFER_SIZE U(0x01000000)
|
||||
|
||||
/* Functions to save and get boot context address given by ROM code */
|
||||
void stm32mp_save_boot_ctx_address(uintptr_t address);
|
||||
uintptr_t stm32mp_get_boot_ctx_address(void);
|
||||
|
|
|
@ -77,9 +77,6 @@
|
|||
******************************************************************************/
|
||||
#define BL33_BASE STM32MP_BL33_BASE
|
||||
|
||||
/* Needed by STM32CubeProgrammer support */
|
||||
#define DWL_BUFFER_SIZE U(0x01000000)
|
||||
|
||||
/*******************************************************************************
|
||||
* DTB specific defines.
|
||||
******************************************************************************/
|
||||
|
|
|
@ -186,9 +186,6 @@ enum ddr_type {
|
|||
#endif
|
||||
#define STM32MP_BL33_MAX_SIZE U(0x400000)
|
||||
|
||||
/* Define maximum page size for NAND devices */
|
||||
#define PLATFORM_MTD_MAX_PAGE_SIZE U(0x1000)
|
||||
|
||||
/* Define location for the MTD scratch buffer */
|
||||
#if STM32MP13
|
||||
#define STM32MP_MTD_BUFFER (SRAM1_BASE + \
|
||||
|
|
Loading…
Add table
Reference in a new issue