From cb745e6047f805054857de74071cbe21c19aad1b Mon Sep 17 00:00:00 2001 From: Mazen NEIFER Date: Tue, 31 Jan 2017 10:13:34 +0100 Subject: [PATCH] Xtensa port: Fixed RAMABLE_REGION in linker scripts. This was introduced during a copy/paste when updating patch https://gerrit.zephyrproject.org/r/#/c/10323/6..7 Change-Id: Id6857dd28a16974361932285b44559f702c4d910 Signed-off-by: Mazen NEIFER --- arch/xtensa/soc/D_212GP/linker.ld | 2 +- arch/xtensa/soc/D_233L/linker.ld | 2 +- arch/xtensa/soc/XRC_D2PM/linker.ld | 2 +- arch/xtensa/soc/XRC_D2PM_5swIrq/linker.ld | 2 +- arch/xtensa/soc/hifi2_std/linker.ld | 2 +- arch/xtensa/soc/hifi3_bd5/linker.ld | 2 +- arch/xtensa/soc/hifi3_bd5_call0/linker.ld | 2 +- arch/xtensa/soc/hifi4_bd7/linker.ld | 2 +- arch/xtensa/soc/hifi_mini/linker.ld | 2 +- arch/xtensa/soc/hifi_mini_4swIrq/linker.ld | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/xtensa/soc/D_212GP/linker.ld b/arch/xtensa/soc/D_212GP/linker.ld index fa74d83216f..dffc626ec21 100644 --- a/arch/xtensa/soc/D_212GP/linker.ld +++ b/arch/xtensa/soc/D_212GP/linker.ld @@ -604,7 +604,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram19_seg :sram19_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include diff --git a/arch/xtensa/soc/D_233L/linker.ld b/arch/xtensa/soc/D_233L/linker.ld index 873278f0292..e125a645a0c 100644 --- a/arch/xtensa/soc/D_233L/linker.ld +++ b/arch/xtensa/soc/D_233L/linker.ld @@ -505,7 +505,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram20_seg :sram20_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include diff --git a/arch/xtensa/soc/XRC_D2PM/linker.ld b/arch/xtensa/soc/XRC_D2PM/linker.ld index 5b2400411ed..b2e218c5ebe 100644 --- a/arch/xtensa/soc/XRC_D2PM/linker.ld +++ b/arch/xtensa/soc/XRC_D2PM/linker.ld @@ -608,7 +608,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram19_seg :sram19_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include diff --git a/arch/xtensa/soc/XRC_D2PM_5swIrq/linker.ld b/arch/xtensa/soc/XRC_D2PM_5swIrq/linker.ld index 5b2400411ed..b2e218c5ebe 100644 --- a/arch/xtensa/soc/XRC_D2PM_5swIrq/linker.ld +++ b/arch/xtensa/soc/XRC_D2PM_5swIrq/linker.ld @@ -608,7 +608,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram19_seg :sram19_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include diff --git a/arch/xtensa/soc/hifi2_std/linker.ld b/arch/xtensa/soc/hifi2_std/linker.ld index 62823f8a6b2..140c00d83f2 100644 --- a/arch/xtensa/soc/hifi2_std/linker.ld +++ b/arch/xtensa/soc/hifi2_std/linker.ld @@ -608,7 +608,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram19_seg :sram19_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include diff --git a/arch/xtensa/soc/hifi3_bd5/linker.ld b/arch/xtensa/soc/hifi3_bd5/linker.ld index aa1871f1eb5..0c125035837 100644 --- a/arch/xtensa/soc/hifi3_bd5/linker.ld +++ b/arch/xtensa/soc/hifi3_bd5/linker.ld @@ -384,7 +384,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram9_seg :sram9_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include diff --git a/arch/xtensa/soc/hifi3_bd5_call0/linker.ld b/arch/xtensa/soc/hifi3_bd5_call0/linker.ld index aa1871f1eb5..0c125035837 100644 --- a/arch/xtensa/soc/hifi3_bd5_call0/linker.ld +++ b/arch/xtensa/soc/hifi3_bd5_call0/linker.ld @@ -384,7 +384,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram9_seg :sram9_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include diff --git a/arch/xtensa/soc/hifi4_bd7/linker.ld b/arch/xtensa/soc/hifi4_bd7/linker.ld index 42a0233104e..bf3dd78b73e 100644 --- a/arch/xtensa/soc/hifi4_bd7/linker.ld +++ b/arch/xtensa/soc/hifi4_bd7/linker.ld @@ -431,7 +431,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram13_seg :sram13_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include diff --git a/arch/xtensa/soc/hifi_mini/linker.ld b/arch/xtensa/soc/hifi_mini/linker.ld index 097072c0277..4176e7258bc 100644 --- a/arch/xtensa/soc/hifi_mini/linker.ld +++ b/arch/xtensa/soc/hifi_mini/linker.ld @@ -356,7 +356,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram0_0_seg :sram0_0_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include diff --git a/arch/xtensa/soc/hifi_mini_4swIrq/linker.ld b/arch/xtensa/soc/hifi_mini_4swIrq/linker.ld index 097072c0277..4176e7258bc 100644 --- a/arch/xtensa/soc/hifi_mini_4swIrq/linker.ld +++ b/arch/xtensa/soc/hifi_mini_4swIrq/linker.ld @@ -356,7 +356,7 @@ SECTIONS #include #include -#define RAMABLE_REGION sram0_seg :sram0_phdr +#define RAMABLE_REGION sram0_0_seg :sram0_0_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr #include