]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Add v850 support for initramfs
authorMiles Bader <miles@lsi.nec.co.jp>
Tue, 26 Nov 2002 13:20:10 +0000 (05:20 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 26 Nov 2002 13:20:10 +0000 (05:20 -0800)
Add v850 support for initramfs

arch/v850/anna-rom.ld
arch/v850/anna.ld
arch/v850/rte_ma1_cb-ksram.ld
arch/v850/rte_ma1_cb-rom.ld
arch/v850/rte_ma1_cb.ld
arch/v850/sim.ld
arch/v850/sim85e2c.ld

index 7d200553ace29a10aa1196483add3f3ae96017d4..036a7271a3eb6d62649d2c2aa1fae516f83e3386 100644 (file)
@@ -80,6 +80,11 @@ SECTIONS {
                __root_fs_image_start = . ;
                *(.root)
                __root_fs_image_end = . ;
+
+               . = ALIGN (4) ;
+               ___initramfs_start = . ;
+                       *(.init.ramfs)
+               ___initramfs_end = . ;
        } > ROM
 
        __rom_copy_src_start = . ;
index a7de194eff31e06e0b3d29257dd6dbb18318a286..ef13dc390b5cb143d92fc7bc3ee9f574dba94257 100644 (file)
@@ -103,6 +103,12 @@ SECTIONS {
                        *(.initcall7.init)
                . = ALIGN (4) ;
                ___initcall_end = . ;
+
+               . = ALIGN (4) ;
+               ___initramfs_start = . ;
+                       *(.init.ramfs)
+               ___initramfs_end = . ;
+
                __init_end = . ;
 
                __kram_end = . ;
index af6faae2db1c948ad3b6e119328f90236bb16b1d..492eaa19ddb5bbeaa44809789ba8007d14e9cf51 100644 (file)
@@ -93,6 +93,11 @@ SECTIONS {
                        *(.initcall7.init)
                . = ALIGN (4) ;
                ___initcall_end = . ;
+
+               . = ALIGN (4) ;
+               ___initramfs_start = . ;
+                       *(.init.ramfs)
+               ___initramfs_end = . ;
        } > SRAM
 
        /* This provides address at which the interrupt vectors are
index 92c9ba2c55a6d4047592c36df04481278ce9fb5a..e4fc0a2a7791cefa5c827d6dec6a297a017edb67 100644 (file)
@@ -45,9 +45,14 @@ SECTIONS {
                ___stop___ksymtab = . ;
                . = ALIGN (4) ;
                __etext = . ;
+
+               . = ALIGN (4) ;
+               ___initramfs_start = . ;
+                       *(.init.ramfs)
+               ___initramfs_end = . ;
        } > ROM
 
-       __data_load_start = . ;
+       __rom_copy_src_start = . ;
 
        .data : {
                __kram_start = . ;
index 72b7512494866854c4122fe790a40c4934dffebb..5259359e142486805dae9179e33d3c7a2160d4ed 100644 (file)
@@ -98,10 +98,15 @@ SECTIONS {
                        *(.initcall7.init)
                . = ALIGN (4) ;
                ___initcall_end = . ;
+
+               . = ALIGN (4) ;
+               ___initramfs_start = . ;
+                       *(.init.ramfs)
+               ___initramfs_end = . ;
        } > SDRAM
 
-       /* This provides address at which the interrupt vectors are
-          initially loaded by the loader.  */
+       /* The address at which the interrupt vectors are initially
+          loaded by the loader.  */
        __intv_load_start = ALIGN (0x10) ;
 
        /* Interrupt vector space.  Because we're using the monitor
index 6d52b93c5860ddb17e3f4d08f6c69bcc592388b9..7bb47333c1183697b7419d473773a2e071e95697 100644 (file)
@@ -96,6 +96,12 @@ SECTIONS {
                        *(.initcall7.init)
                . = ALIGN (4) ;
                ___initcall_end = . ;
+
+               . = ALIGN (4) ;
+               ___initramfs_start = . ;
+                       *(.init.ramfs)
+               ___initramfs_end = . ;
+
                __init_end = . ;
 
                __kram_end = . ;
index 9a8843f8e0170b7bfae1de85ade6cc1fe22b1b44..337c0ee4321894bdeb4d85b8c2c8f12311e39eb2 100644 (file)
@@ -86,6 +86,12 @@ SECTIONS {
                        *(.initcall7.init)
                . = ALIGN (4) ;
                ___initcall_end = . ;
+
+               . = ALIGN (4) ;
+               ___initramfs_start = . ;
+                       *(.init.ramfs)
+               ___initramfs_end = . ;
+
                __init_end = . ;
        } > IRAM