File tree Expand file tree Collapse file tree 4 files changed +2
-61
lines changed
soc/infineon/cat1b/cyw20829 Expand file tree Collapse file tree 4 files changed +2
-61
lines changed Original file line number Diff line number Diff line change @@ -1021,32 +1021,6 @@ config IS_BOOTLOADER
10211021 This option indicates that Zephyr will act as a bootloader to execute
10221022 a separate Zephyr image payload.
10231023
1024- config BOOTLOADER_SRAM_SIZE
1025- int "SRAM reserved for bootloader [DEPRECATED]"
1026- default 0
1027- depends on !XIP || IS_BOOTLOADER
1028- depends on ARM || XTENSA
1029- help
1030- This option specifies the amount of SRAM (measure in kB) reserved for
1031- a bootloader image, when either:
1032- - the Zephyr image itself is to act as the bootloader, or
1033- - Zephyr is a !XIP image, which implicitly assumes existence of a
1034- bootloader that loads the Zephyr !XIP image onto SRAM.
1035-
1036- This option is deprecated, users should transition to using DTS to set this, if needed.
1037- To be removed after Zephyr 3.7 release.
1038-
1039- config BOOTLOADER_SRAM_SIZE_DEPRECATED
1040- bool
1041- default y
1042- select DEPRECATED
1043- depends on BOOTLOADER_SRAM_SIZE != 0
1044- depends on !XIP || IS_BOOTLOADER
1045- depends on ARM || XTENSA
1046- help
1047- Non-prompt symbol to indicate that the deprecated BOOTLOADER_SRAM_SIZE Kconfig has a
1048- non-0 value. Please transition to using devicetree.
1049-
10501024config BOOTLOADER_BOSSA
10511025 bool "BOSSA bootloader support"
10521026 select USE_DT_CODE_PARTITION
Original file line number Diff line number Diff line change 5252 #define ROM_SIZE (CONFIG_FLASH_SIZE*1K - CONFIG_FLASH_LOAD_OFFSET - ROM_END_OFFSET )
5353#endif
5454
55- #if defined(CONFIG_XIP)
56- #if defined(CONFIG_IS_BOOTLOADER)
57- #define RAM_SIZE (CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
58- #define RAM_ADDR (CONFIG_SRAM_BASE_ADDRESS + \
59- (CONFIG_SRAM_SIZE * 1K - RAM_SIZE ))
60- #else
61- #define RAM_SIZE (CONFIG_SRAM_SIZE * 1K )
62- #define RAM_ADDR CONFIG_SRAM_BASE_ADDRESS
63- #endif
64- #else
65- #define RAM_SIZE (CONFIG_SRAM_SIZE * 1K - CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
66- #define RAM_ADDR CONFIG_SRAM_BASE_ADDRESS
67- #endif
55+ #define RAM_SIZE (CONFIG_SRAM_SIZE * 1K )
56+ #define RAM_ADDR CONFIG_SRAM_BASE_ADDRESS
6857
6958/* Set alignment to CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE
7059 * to make linker section alignment comply with MPU granularity.
Original file line number Diff line number Diff line change 5252#define ROM_SIZE (CONFIG_FLASH_SIZE * 1024 - CONFIG_FLASH_LOAD_OFFSET - ROM_END_OFFSET )
5353#endif
5454
55- #if defined(CONFIG_XIP)
56- #if defined(CONFIG_IS_BOOTLOADER)
57- #define RAM_SIZE (CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
58- #define RAM_ADDR (CONFIG_SRAM_BASE_ADDRESS + \
59- (CONFIG_SRAM_SIZE * 1K - RAM_SIZE ))
60- #else
6155#define RAM_SIZE (CONFIG_SRAM_SIZE * 1K )
6256#define RAM_ADDR CONFIG_SRAM_BASE_ADDRESS
63- #endif
64- #else
65- #define RAM_SIZE (CONFIG_SRAM_SIZE * 1K - CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
66- #define RAM_ADDR CONFIG_SRAM_BASE_ADDRESS
67- #endif
6857
6958#if defined(CONFIG_CUSTOM_SECTION_ALIGN)
7059_region_min_align = CONFIG_CUSTOM_SECTION_MIN_ALIGN_SIZE;
Original file line number Diff line number Diff line change 4545#define ROM_SIZE (CONFIG_FLASH_SIZE * 1024 - CONFIG_FLASH_LOAD_OFFSET - ROM_END_OFFSET )
4646#endif
4747
48- #if defined(CONFIG_XIP)
49- #if defined(CONFIG_IS_BOOTLOADER)
50- #define RAM_SIZE (CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
51- #define RAM_ADDR (CONFIG_SRAM_BASE_ADDRESS + \
52- (CONFIG_SRAM_SIZE * 1K - RAM_SIZE ))
53- #else
5448#define RAM_SIZE (CONFIG_SRAM_SIZE * 1K )
5549#define RAM_ADDR CONFIG_SRAM_BASE_ADDRESS
56- #endif
57- #else
58- #define RAM_SIZE (CONFIG_SRAM_SIZE * 1K - CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
59- #define RAM_ADDR CONFIG_SRAM_BASE_ADDRESS
60- #endif
6150
6251#if defined(CONFIG_CUSTOM_SECTION_ALIGN)
6352_region_min_align = CONFIG_CUSTOM_SECTION_MIN_ALIGN_SIZE;
You can’t perform that action at this time.
0 commit comments