Skip to content

Commit 6f32b56

Browse files
author
Alain Volmat
committed
drivers: memc: stm32: removal of sdram1/sdram2/psram sections handling
SDRAM1 / SDRAM2 / PSRAM sections were being referenced in order to make them accessible for the framebuffer. This is now addressed via the mechanism provided by Zephyr hence this is no more necessary. Signed-off-by: Alain Volmat <[email protected]>
1 parent ffdda37 commit 6f32b56

File tree

5 files changed

+0
-54
lines changed

5 files changed

+0
-54
lines changed

drivers/memc/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,5 @@ zephyr_library_sources_ifdef(CONFIG_MEMC_SMARTBOND memc_smartbond_
2626
zephyr_library_sources_ifdef(CONFIG_MEMC_STM32 memc_stm32.c)
2727
zephyr_library_sources_ifdef(CONFIG_MEMC_STM32_NOR_PSRAM memc_stm32_nor_psram.c)
2828
zephyr_library_sources_ifdef(CONFIG_MEMC_STM32_SDRAM memc_stm32_sdram.c)
29-
zephyr_linker_sources_ifdef(CONFIG_MEMC_STM32_SDRAM SECTIONS memc_stm32_sdram.ld)
3029

3130
zephyr_library_sources_ifdef(CONFIG_MEMC_STM32_XSPI_PSRAM memc_stm32_xspi_psram.c)
32-
zephyr_linker_sources_ifdef(CONFIG_MEMC_STM32_XSPI_PSRAM SECTIONS memc_stm32_xspi_psram.ld)

drivers/memc/memc_stm32_sdram.ld

Lines changed: 0 additions & 29 deletions
This file was deleted.

drivers/memc/memc_stm32_xspi_psram.ld

Lines changed: 0 additions & 16 deletions
This file was deleted.

include/zephyr/linker/section_tags.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@
4545
#define __imx_boot_ivt_section Z_GENERIC_SECTION(_IMX_BOOT_IVT_SECTION_NAME)
4646
#define __imx_boot_dcd_section Z_GENERIC_SECTION(_IMX_BOOT_DCD_SECTION_NAME)
4747
#define __imx_boot_container_section Z_GENERIC_SECTION(_IMX_BOOT_CONTAINER_SECTION_NAME)
48-
#define __stm32_sdram1_section Z_GENERIC_SECTION(_STM32_SDRAM1_SECTION_NAME)
49-
#define __stm32_sdram2_section Z_GENERIC_SECTION(_STM32_SDRAM2_SECTION_NAME)
50-
#define __stm32_psram_section Z_GENERIC_SECTION(_STM32_PSRAM_SECTION_NAME)
5148
#define __stm32_backup_sram_section Z_GENERIC_SECTION(_STM32_BACKUP_SRAM_SECTION_NAME)
5249
#endif /* CONFIG_ARM */
5350

include/zephyr/linker/sections.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@
6969
#define _IMX_BOOT_DCD_SECTION_NAME .boot_hdr.dcd_data
7070
#define _IMX_BOOT_CONTAINER_SECTION_NAME .boot_hdr.container
7171

72-
#define _STM32_SDRAM1_SECTION_NAME .stm32_sdram1
73-
#define _STM32_SDRAM2_SECTION_NAME .stm32_sdram2
74-
#define _STM32_PSRAM_SECTION_NAME .stm32_psram
75-
7672
#define _STM32_BACKUP_SRAM_SECTION_NAME .stm32_backup_sram
7773

7874
#ifdef CONFIG_NOCACHE_MEMORY

0 commit comments

Comments
 (0)