Commit 617e7bf0 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] m68knommu: new board support nad missing sections for linker script

Couple of updates for ther m68knommu linker script.

. Add support for the Freescale M5271EVB and M5275EVB boards
. Add support for the Sneha CPU16B board
. Changes to use the generic 528x define to 5280 and 5282 base boards
. Add the missing param section
. Align the ramfs section on a 4k (pseudo page size) boundary
Signed-off-by: default avatarGreg Ungerer <gerg@snapgear.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 157c7836
/*
* vmlinux.lds.S -- master linker script for m68knommu arch
*
* (C) Copyright 2002-2003, Greg Ungerer <gerg@snapgear.com>
* (C) Copyright 2002-2004, Greg Ungerer <gerg@snapgear.com>
*
* This ends up looking compilcated, because of the number of
* address variations for ram and rom/flash layouts. The real
......@@ -117,7 +117,8 @@
*/
#if defined(CONFIG_M5206eC3) || defined(CONFIG_M5249C3) || \
defined(CONFIG_M5272C3) || defined(CONFIG_M5307C3) || \
defined(CONFIG_ARN5307) || defined(CONFIG_M5407C3)
defined(CONFIG_ARN5307) || defined(CONFIG_M5407C3) || \
defined(CONFIG_M5271EVB) || defined(CONFIG_M5275EVB)
#define RAM_START 0x20000
#define RAM_LENGTH 0x3e0000
#endif
......@@ -132,14 +133,14 @@
#define RAM_LENGTH 0xfe0000
#endif
#if defined(CONFIG_M5282C3)
#if defined(CONFIG_M5282EVB)
#define RAM_START 0x10000
#define RAM_LENGTH 0x3f0000
#endif
/*
* The senTec COBRA5282 board has the same
* memory layout as the M5282C3.
* memory layout as the M5282EVB.
*/
#if defined(CONFIG_COBRA5282)
#define RAM_START 0x10000
......@@ -153,11 +154,22 @@
*/
#if defined(CONFIG_NETtel) || defined(CONFIG_eLIA) || \
defined(CONFIG_DISKtel) || defined(CONFIG_SECUREEDGEMP3) || \
defined(CONFIG_CLEOPATRA)
defined(CONFIG_HW_FEITH)
#define RAM_START 0x400
#define RAM_LENGTH 0x3ffc00
#endif
/*
* Sneha Boards mimimun memmory
* The end of RAM will vary depending on how much ram is fitted,
* but this isn't important here, we assume at least 4MiB.
*/
#if defined(CONFIG_CPU16B)
#define RAM_START 0x20000
#define RAM_LENGTH 0x3e0000
#endif
#if defined(CONFIG_RAMKERNEL)
#define TEXT ram
#define DATA ram
......@@ -247,6 +259,11 @@ SECTIONS {
/* Kernel symbol table: strings */
*(__ksymtab_strings)
/* Built-in module parameters */
__start___param = .;
*(__param)
__stop___param = .;
. = ALIGN(4) ;
_etext = . ;
} > TEXT
......@@ -303,7 +320,7 @@ SECTIONS {
__initramfs_start = .;
*(.init.ramfs)
__initramfs_end = .;
. = ALIGN(4);
. = ALIGN(4096);
__init_end = .;
} > INIT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment