diff options
author | Greg Ungerer <gerg@snapgear.com> | 2005-09-01 20:42:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-02 03:57:30 -0400 |
commit | 4945b30291ba85a36adffdaafb75bd73f5d887b6 (patch) | |
tree | 03f1420a2b9b3985cd4fa5db4ba14e80c8a02a0e | |
parent | e70bd1160109f2b7e62222550a7af37910dba88a (diff) |
[PATCH] m68knommu: new board support in linker script
. add support for the M5235EVB board
. add support for the SOM5282 board
. add support for the MOD5272 board
. fix end of memory define for eLITE board
Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/m68knommu/kernel/vmlinux.lds.S | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S index 31cb12892da5..47f06787190d 100644 --- a/arch/m68knommu/kernel/vmlinux.lds.S +++ b/arch/m68knommu/kernel/vmlinux.lds.S | |||
@@ -107,7 +107,7 @@ | |||
107 | */ | 107 | */ |
108 | #if defined(CONFIG_ELITE) | 108 | #if defined(CONFIG_ELITE) |
109 | #define RAM_START 0x30020000 | 109 | #define RAM_START 0x30020000 |
110 | #define RAM_END 0xe0000 | 110 | #define RAM_LENGTH 0xe0000 |
111 | #endif | 111 | #endif |
112 | 112 | ||
113 | /* | 113 | /* |
@@ -118,7 +118,8 @@ | |||
118 | #if defined(CONFIG_M5206eC3) || defined(CONFIG_M5249C3) || \ | 118 | #if defined(CONFIG_M5206eC3) || defined(CONFIG_M5249C3) || \ |
119 | defined(CONFIG_M5272C3) || defined(CONFIG_M5307C3) || \ | 119 | defined(CONFIG_M5272C3) || defined(CONFIG_M5307C3) || \ |
120 | defined(CONFIG_ARN5307) || defined(CONFIG_M5407C3) || \ | 120 | defined(CONFIG_ARN5307) || defined(CONFIG_M5407C3) || \ |
121 | defined(CONFIG_M5271EVB) || defined(CONFIG_M5275EVB) | 121 | defined(CONFIG_M5271EVB) || defined(CONFIG_M5275EVB) || \ |
122 | defined(CONFIG_M5235EVB) | ||
122 | #define RAM_START 0x20000 | 123 | #define RAM_START 0x20000 |
123 | #define RAM_LENGTH 0x3e0000 | 124 | #define RAM_LENGTH 0x3e0000 |
124 | #endif | 125 | #endif |
@@ -145,6 +146,16 @@ | |||
145 | #define RAM_LENGTH 0x3f0000 | 146 | #define RAM_LENGTH 0x3f0000 |
146 | #endif | 147 | #endif |
147 | 148 | ||
149 | |||
150 | /* | ||
151 | * The EMAC SoM-5282EM module. | ||
152 | */ | ||
153 | #if defined(CONFIG_SOM5282EM) | ||
154 | #define RAM_START 0x10000 | ||
155 | #define RAM_LENGTH 0xff0000 | ||
156 | #endif | ||
157 | |||
158 | |||
148 | /* | 159 | /* |
149 | * These flash boot boards use all of ram for operation. Again the | 160 | * These flash boot boards use all of ram for operation. Again the |
150 | * actual memory size is not important here, assume at least 4MiB. | 161 | * actual memory size is not important here, assume at least 4MiB. |
@@ -158,7 +169,7 @@ | |||
158 | #endif | 169 | #endif |
159 | 170 | ||
160 | /* | 171 | /* |
161 | * Sneha Boards mimimun memmory | 172 | * Sneha Boards mimimun memory |
162 | * The end of RAM will vary depending on how much ram is fitted, | 173 | * The end of RAM will vary depending on how much ram is fitted, |
163 | * but this isn't important here, we assume at least 4MiB. | 174 | * but this isn't important here, we assume at least 4MiB. |
164 | */ | 175 | */ |
@@ -167,6 +178,12 @@ | |||
167 | #define RAM_LENGTH 0x3e0000 | 178 | #define RAM_LENGTH 0x3e0000 |
168 | #endif | 179 | #endif |
169 | 180 | ||
181 | #if defined(CONFIG_MOD5272) | ||
182 | #define RAM_START 0x02000000 | ||
183 | #define RAM_LENGTH 0x00800000 | ||
184 | #define RAMVEC_START 0x20000000 | ||
185 | #define RAMVEC_LENGTH 0x00000400 | ||
186 | #endif | ||
170 | 187 | ||
171 | #if defined(CONFIG_RAMKERNEL) | 188 | #if defined(CONFIG_RAMKERNEL) |
172 | #define TEXT ram | 189 | #define TEXT ram |