Commit 5a50d02c authored by Miles Bader's avatar Miles Bader Committed by Linus Torvalds

[PATCH] Add v850 support for initramfs

Add v850 support for initramfs
parent 98960e9e
...@@ -80,6 +80,11 @@ SECTIONS { ...@@ -80,6 +80,11 @@ SECTIONS {
__root_fs_image_start = . ; __root_fs_image_start = . ;
*(.root) *(.root)
__root_fs_image_end = . ; __root_fs_image_end = . ;
. = ALIGN (4) ;
___initramfs_start = . ;
*(.init.ramfs)
___initramfs_end = . ;
} > ROM } > ROM
__rom_copy_src_start = . ; __rom_copy_src_start = . ;
......
...@@ -103,6 +103,12 @@ SECTIONS { ...@@ -103,6 +103,12 @@ SECTIONS {
*(.initcall7.init) *(.initcall7.init)
. = ALIGN (4) ; . = ALIGN (4) ;
___initcall_end = . ; ___initcall_end = . ;
. = ALIGN (4) ;
___initramfs_start = . ;
*(.init.ramfs)
___initramfs_end = . ;
__init_end = . ; __init_end = . ;
__kram_end = . ; __kram_end = . ;
......
...@@ -93,6 +93,11 @@ SECTIONS { ...@@ -93,6 +93,11 @@ SECTIONS {
*(.initcall7.init) *(.initcall7.init)
. = ALIGN (4) ; . = ALIGN (4) ;
___initcall_end = . ; ___initcall_end = . ;
. = ALIGN (4) ;
___initramfs_start = . ;
*(.init.ramfs)
___initramfs_end = . ;
} > SRAM } > SRAM
/* This provides address at which the interrupt vectors are /* This provides address at which the interrupt vectors are
......
...@@ -45,9 +45,14 @@ SECTIONS { ...@@ -45,9 +45,14 @@ SECTIONS {
___stop___ksymtab = . ; ___stop___ksymtab = . ;
. = ALIGN (4) ; . = ALIGN (4) ;
__etext = . ; __etext = . ;
. = ALIGN (4) ;
___initramfs_start = . ;
*(.init.ramfs)
___initramfs_end = . ;
} > ROM } > ROM
__data_load_start = . ; __rom_copy_src_start = . ;
.data : { .data : {
__kram_start = . ; __kram_start = . ;
......
...@@ -98,10 +98,15 @@ SECTIONS { ...@@ -98,10 +98,15 @@ SECTIONS {
*(.initcall7.init) *(.initcall7.init)
. = ALIGN (4) ; . = ALIGN (4) ;
___initcall_end = . ; ___initcall_end = . ;
. = ALIGN (4) ;
___initramfs_start = . ;
*(.init.ramfs)
___initramfs_end = . ;
} > SDRAM } > SDRAM
/* This provides address at which the interrupt vectors are /* The address at which the interrupt vectors are initially
initially loaded by the loader. */ loaded by the loader. */
__intv_load_start = ALIGN (0x10) ; __intv_load_start = ALIGN (0x10) ;
/* Interrupt vector space. Because we're using the monitor /* Interrupt vector space. Because we're using the monitor
......
...@@ -96,6 +96,12 @@ SECTIONS { ...@@ -96,6 +96,12 @@ SECTIONS {
*(.initcall7.init) *(.initcall7.init)
. = ALIGN (4) ; . = ALIGN (4) ;
___initcall_end = . ; ___initcall_end = . ;
. = ALIGN (4) ;
___initramfs_start = . ;
*(.init.ramfs)
___initramfs_end = . ;
__init_end = . ; __init_end = . ;
__kram_end = . ; __kram_end = . ;
......
...@@ -86,6 +86,12 @@ SECTIONS { ...@@ -86,6 +86,12 @@ SECTIONS {
*(.initcall7.init) *(.initcall7.init)
. = ALIGN (4) ; . = ALIGN (4) ;
___initcall_end = . ; ___initcall_end = . ;
. = ALIGN (4) ;
___initramfs_start = . ;
*(.init.ramfs)
___initramfs_end = . ;
__init_end = . ; __init_end = . ;
} > IRAM } > IRAM
......
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