Skip to content

Commit 8221a9a

Browse files
decsnyfabiobaltieri
authored andcommitted
Revert "arch: common: Add user can specify the nocache location"
This reverts commit 88f6851. This is being reverted because it is redundant with the capabilities of zephyr,memory-region and zephyr,memory-attr properties. Signed-off-by: Declan Snyder <[email protected]>
1 parent 3ea954e commit 8221a9a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

arch/common/nocache.ld

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77

88
/* Copied from linker.ld */
99

10-
#if DT_NODE_HAS_STATUS(DT_CHOSEN(zephyr_nocache_ram), okay)
11-
#define NOCACHE_REGION LINKER_DT_NODE_REGION_NAME_TOKEN(DT_CHOSEN(zephyr_nocache_ram))
12-
#else
13-
#define NOCACHE_REGION RAMABLE_REGION
14-
#endif
15-
1610
/* Non-cached region of RAM */
1711
SECTION_DATA_PROLOGUE(_NOCACHE_SECTION_NAME,(NOLOAD),)
1812
{
@@ -33,5 +27,5 @@ SECTION_DATA_PROLOGUE(_NOCACHE_SECTION_NAME,(NOLOAD),)
3327
MPU_ALIGN(_nocache_ram_size);
3428
#endif
3529
_nocache_ram_end = .;
36-
} GROUP_DATA_LINK_IN(NOCACHE_REGION, NOCACHE_REGION)
30+
} GROUP_DATA_LINK_IN(RAMABLE_REGION, RAMABLE_REGION)
3731
_nocache_ram_size = _nocache_ram_end - _nocache_ram_start;

0 commit comments

Comments
 (0)