diff options
Diffstat (limited to 'arch/arm/cpu')
| -rw-r--r-- | arch/arm/cpu/arm1136/start.S | 16 | ||||
| -rw-r--r-- | arch/arm/cpu/arm1136/u-boot.lds | 38 | ||||
| -rw-r--r-- | arch/arm/cpu/arm1176/u-boot.lds | 37 | ||||
| -rw-r--r-- | arch/arm/cpu/arm926ejs/u-boot.lds | 30 | ||||
| -rw-r--r-- | arch/arm/cpu/armv7/omap3/sdrc.c | 7 | ||||
| -rw-r--r-- | arch/arm/cpu/armv7/start.S | 24 | ||||
| -rw-r--r-- | arch/arm/cpu/armv7/u-boot.lds | 46 | ||||
| -rw-r--r-- | arch/arm/cpu/pxa/u-boot.lds | 35 | 
8 files changed, 112 insertions, 121 deletions
| diff --git a/arch/arm/cpu/arm1136/start.S b/arch/arm/cpu/arm1136/start.S index aecc943c8..eec8bee7e 100644 --- a/arch/arm/cpu/arm1136/start.S +++ b/arch/arm/cpu/arm1136/start.S @@ -104,22 +104,6 @@ _bss_start_ofs:  _bss_end_ofs:  	.word _end - _start -.globl _datarel_start_ofs -_datarel_start_ofs: -	.word __datarel_start - _start - -.globl _datarelrolocal_start_ofs -_datarelrolocal_start_ofs: -	.word __datarelrolocal_start - _start - -.globl _datarellocal_start_ofs -_datarellocal_start_ofs: -	.word __datarellocal_start - _start - -.globl _datarelro_start_ofs -_datarelro_start_ofs: -	.word __datarelro_start - _start -  #ifdef CONFIG_USE_IRQ  /* IRQ stack memory (calculated at run-time) */  .globl IRQ_STACK_START diff --git a/arch/arm/cpu/arm1136/u-boot.lds b/arch/arm/cpu/arm1136/u-boot.lds index 31f43f0e0..253adbe47 100644 --- a/arch/arm/cpu/arm1136/u-boot.lds +++ b/arch/arm/cpu/arm1136/u-boot.lds @@ -20,7 +20,8 @@   *   * This program is distributed in the hope that it will be useful,   * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the +   * GNU General Public License for more details.   *   * You should have received a copy of the GNU General Public License @@ -49,23 +50,9 @@ SECTIONS  	. = ALIGN(4);  	.data : {  		*(.data) -	__datarel_start = .; -		*(.data.rel) -	__datarelrolocal_start = .; -		*(.data.rel.ro.local) -	__datarellocal_start = .; -		*(.data.rel.local) -	__datarelro_start = .; -		*(.data.rel.ro)  	}  	. = ALIGN(4); -	__rel_dyn_start = .; -	.rel.dyn : { *(.rel.dyn) } -	__rel_dyn_end = .; - -	__dynsym_start = .; -	.dynsym : { *(.dynsym) }  	. = .;  	__u_boot_cmd_start = .; @@ -73,9 +60,24 @@ SECTIONS  	__u_boot_cmd_end = .;  	. = ALIGN(4); -	__bss_start = .; -	.bss (NOLOAD) : { *(.bss) . = ALIGN(4); } -	_end = .; + +	.rel.dyn : { +		__rel_dyn_start = .; +		*(.rel*) +		__rel_dyn_end = .; +	} + +	.dynsym : { +		__dynsym_start = .; +		*(.dynsym) +	} + +	.bss __rel_dyn_start (OVERLAY) : { +		__bss_start = .; +		*(.bss) +		 . = ALIGN(4); +		_end = .; +	}  	/DISCARD/ : { *(.dynstr*) }  	/DISCARD/ : { *(.dynamic*) } diff --git a/arch/arm/cpu/arm1176/u-boot.lds b/arch/arm/cpu/arm1176/u-boot.lds index d9ed95405..fe3180053 100644 --- a/arch/arm/cpu/arm1176/u-boot.lds +++ b/arch/arm/cpu/arm1176/u-boot.lds @@ -41,33 +41,32 @@ SECTIONS  	. = ALIGN(4);  	.data : {  		*(.data) -	__datarel_start = .; -		*(.data.rel) -	__datarelrolocal_start = .; -		*(.data.rel.ro.local) -	__datarellocal_start = .; -		*(.data.rel.local) -	__datarelro_start = .; -		*(.data.rel.ro)  	} -	. = ALIGN(4); -	__rel_dyn_start = .; -	.rel.dyn : { *(.rel.dyn) } -	__rel_dyn_end = .; - -	__dynsym_start = .; -	.dynsym : { *(.dynsym) } -  	. = .;  	__u_boot_cmd_start = .;  	.u_boot_cmd : { *(.u_boot_cmd) }  	__u_boot_cmd_end = .;  	. = ALIGN(4); -	__bss_start = .; -	.bss (NOLOAD) : { *(.bss) . = ALIGN(4); } -	_end = .; + +	.rel.dyn : { +		__rel_dyn_start = .; +		*(.rel*) +		__rel_dyn_end = .; +	} + +	.dynsym : { +		__dynsym_start = .; +		*(.dynsym) +	} + +	.bss __rel_dyn_start (OVERLAY) : { +		__bss_start = .; +		*(.bss) +		 . = ALIGN(4); +		_end = .; +	}  	/DISCARD/ : { *(.dynstr*) }  	/DISCARD/ : { *(.dynamic*) } diff --git a/arch/arm/cpu/arm926ejs/u-boot.lds b/arch/arm/cpu/arm926ejs/u-boot.lds index 72f45f800..28c91f937 100644 --- a/arch/arm/cpu/arm926ejs/u-boot.lds +++ b/arch/arm/cpu/arm926ejs/u-boot.lds @@ -45,24 +45,30 @@ SECTIONS  	. = ALIGN(4); -	__rel_dyn_start = .; -	.rel.dyn : { *(.rel.dyn) } -	__rel_dyn_end = .; - -	__dynsym_start = .; -	.dynsym : { *(.dynsym) } - -	. = ALIGN(4); -  	. = .;  	__u_boot_cmd_start = .;  	.u_boot_cmd : { *(.u_boot_cmd) }  	__u_boot_cmd_end = .;  	. = ALIGN(4); -	__bss_start = .; -	.bss (NOLOAD) : { *(.bss) . = ALIGN(4); } -	_end = .; + +	.rel.dyn : { +		__rel_dyn_start = .; +		*(.rel*) +		__rel_dyn_end = .; +	} + +	.dynsym : { +		__dynsym_start = .; +		*(.dynsym) +	} + +	.bss __rel_dyn_start (OVERLAY) : { +		__bss_start = .; +		*(.bss) +		 . = ALIGN(4); +		_end = .; +	}  	/DISCARD/ : { *(.dynstr*) }  	/DISCARD/ : { *(.dynamic*) } diff --git a/arch/arm/cpu/armv7/omap3/sdrc.c b/arch/arm/cpu/armv7/omap3/sdrc.c index c75aa1d11..a4979ce61 100644 --- a/arch/arm/cpu/armv7/omap3/sdrc.c +++ b/arch/arm/cpu/armv7/omap3/sdrc.c @@ -149,6 +149,13 @@ void do_sdrc_init(u32 cs, u32 early)  			&sdrc_actim_base1->ctrla);  		writel(readl(&sdrc_actim_base0->ctrlb),  			&sdrc_actim_base1->ctrlb); + +		writel(CMD_NOP, &sdrc_base->cs[cs].manual); +		writel(CMD_PRECHARGE, &sdrc_base->cs[cs].manual); +		writel(CMD_AUTOREFRESH, &sdrc_base->cs[cs].manual); +		writel(CMD_AUTOREFRESH, &sdrc_base->cs[cs].manual); +		writel(readl(&sdrc_base->cs[CS0].mr), +			&sdrc_base->cs[CS1].mr);  	}  	/* diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S index bb3948d40..2dfdafe98 100644 --- a/arch/arm/cpu/armv7/start.S +++ b/arch/arm/cpu/armv7/start.S @@ -98,30 +98,6 @@ FIQ_STACK_START:  IRQ_STACK_START_IN:  	.word	0x0badc0de -.globl _datarel_start_ofs -_datarel_start_ofs: -	.word __datarel_start - _start - -.globl _datarelrolocal_start_ofs -_datarelrolocal_start_ofs: -	.word __datarelrolocal_start - _start - -.globl _datarellocal_start_ofs -_datarellocal_start_ofs: -	.word __datarellocal_start - _start - -.globl _datarelro_start_ofs -_datarelro_start_ofs: -	.word __datarelro_start - _start - -.globl _got_start_ofs -_got_start_ofs: -	.word __got_start - _start - -.globl _got_end_Ofs -_got_end_ofs: -	.word __got_end - _start -  /*   * the actual reset code   */ diff --git a/arch/arm/cpu/armv7/u-boot.lds b/arch/arm/cpu/armv7/u-boot.lds index 88a0fecd8..5725c30c6 100644 --- a/arch/arm/cpu/armv7/u-boot.lds +++ b/arch/arm/cpu/armv7/u-boot.lds @@ -44,34 +44,38 @@ SECTIONS  	. = ALIGN(4);  	.data : {  		*(.data) -	__datarel_start = .; -		*(.data.rel) -	__datarelrolocal_start = .; -		*(.data.rel.ro.local) -	__datarellocal_start = .; -		*(.data.rel.local) -	__datarelro_start = .; -		*(.data.rel.ro)  	} -	. = ALIGN(4); -	__rel_dyn_start = .; -	.rel.dyn : { *(.rel.dyn) } -	__rel_dyn_end = .; - -	__dynsym_start = .; -	.dynsym : { *(.dynsym) } -	__got_start = .;  	. = ALIGN(4); -	.got : { *(.got) } -	__got_end = .; +	. = .;  	__u_boot_cmd_start = .;  	.u_boot_cmd : { *(.u_boot_cmd) }  	__u_boot_cmd_end = .;  	. = ALIGN(4); -	__bss_start = .; -	.bss : { *(.bss) } -	_end = .; + +	.rel.dyn : { +		__rel_dyn_start = .; +		*(.rel*) +		__rel_dyn_end = .; +	} + +	.dynsym : { +		__dynsym_start = .; +		*(.dynsym) +	} + +	.bss __rel_dyn_start (OVERLAY) : { +		__bss_start = .; +		*(.bss) +		 . = ALIGN(4); +		_end = .; +	} + +	/DISCARD/ : { *(.dynstr*) } +	/DISCARD/ : { *(.dynamic*) } +	/DISCARD/ : { *(.plt*) } +	/DISCARD/ : { *(.interp*) } +	/DISCARD/ : { *(.gnu*) }  } diff --git a/arch/arm/cpu/pxa/u-boot.lds b/arch/arm/cpu/pxa/u-boot.lds index d6643f952..0818d0b6e 100644 --- a/arch/arm/cpu/pxa/u-boot.lds +++ b/arch/arm/cpu/pxa/u-boot.lds @@ -44,14 +44,6 @@ SECTIONS  	}  	. = ALIGN(4); -	__rel_dyn_start = .; -	.rel.dyn : { *(.rel.dyn) } -	__rel_dyn_end = .; - -	__dynsym_start = .; -	.dynsym : { *(.dynsym) } - -	. = ALIGN(4);  	. = .;  	__u_boot_cmd_start = .; @@ -59,7 +51,28 @@ SECTIONS  	__u_boot_cmd_end = .;  	. = ALIGN(4); -	__bss_start = .; -	.bss (NOLOAD) : { *(.bss) . = ALIGN(4); } -	_end = .; + +	.rel.dyn : { +		__rel_dyn_start = .; +		*(.rel*) +		__rel_dyn_end = .; +	} + +	.dynsym : { +		__dynsym_start = .; +		*(.dynsym) +	} + +	.bss __rel_dyn_start (OVERLAY) : { +		__bss_start = .; +		*(.bss) +		 . = ALIGN(4); +		_end = .; +	} + +	/DISCARD/ : { *(.dynstr*) } +	/DISCARD/ : { *(.dynamic*) } +	/DISCARD/ : { *(.plt*) } +	/DISCARD/ : { *(.interp*) } +	/DISCARD/ : { *(.gnu*) }  } |