Skip to content

Commit

Permalink
ARM: configs: stm32: Remove FLASH_MEM_BASE and FLASH_SIZE in STM32 de…
Browse files Browse the repository at this point in the history
…fconfig

Running make savedefconfig highlights some useless flags.

Remove FLASH_MEM_BASE and FLASH_SIZE as these 2 flags are only
used by CPU_ARM740T,CPU_ARM940T and CPU_ARM946E which is not the
case here for CPU_V7M.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241220125506.3157268-2-patrice.chotard@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Patrice Chotard authored and Arnd Bergmann committed Jan 15, 2025
1 parent 2981c62 commit 8637f22
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/configs/stm32_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ CONFIG_ARCH_STM32=y
CONFIG_CPU_V7M_NUM_IRQ=240
CONFIG_SET_MEM_PARAM=y
CONFIG_DRAM_BASE=0x90000000
CONFIG_FLASH_MEM_BASE=0x08000000
CONFIG_FLASH_SIZE=0x00200000
# CONFIG_ATAGS is not set
CONFIG_XIP_KERNEL=y
CONFIG_XIP_PHYS_ADDR=0x08008000
Expand Down

0 comments on commit 8637f22

Please sign in to comment.