diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/powerpc/cpu/74xx_7xx/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc512x/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc5xx/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc5xxx/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc8220/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc824x/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc8260/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc83xx/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/start.S | 20 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/u-boot-nand.lds | 49 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds | 12 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc86xx/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc8xx/start.S | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/ppc4xx/start.S | 2 | 
14 files changed, 36 insertions, 67 deletions
| diff --git a/arch/powerpc/cpu/74xx_7xx/start.S b/arch/powerpc/cpu/74xx_7xx/start.S index 280781e16..985e1ce70 100644 --- a/arch/powerpc/cpu/74xx_7xx/start.S +++ b/arch/powerpc/cpu/74xx_7xx/start.S @@ -712,7 +712,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc512x/start.S b/arch/powerpc/cpu/mpc512x/start.S index fe35190e7..10557cf20 100644 --- a/arch/powerpc/cpu/mpc512x/start.S +++ b/arch/powerpc/cpu/mpc512x/start.S @@ -616,7 +616,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc5xx/start.S b/arch/powerpc/cpu/mpc5xx/start.S index 63449c3d4..3dbd23d0b 100644 --- a/arch/powerpc/cpu/mpc5xx/start.S +++ b/arch/powerpc/cpu/mpc5xx/start.S @@ -456,7 +456,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc5xxx/start.S b/arch/powerpc/cpu/mpc5xxx/start.S index ad546771f..38c0bd7c1 100644 --- a/arch/powerpc/cpu/mpc5xxx/start.S +++ b/arch/powerpc/cpu/mpc5xxx/start.S @@ -671,7 +671,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc8220/start.S b/arch/powerpc/cpu/mpc8220/start.S index b029e8417..ca4267870 100644 --- a/arch/powerpc/cpu/mpc8220/start.S +++ b/arch/powerpc/cpu/mpc8220/start.S @@ -644,7 +644,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc824x/start.S b/arch/powerpc/cpu/mpc824x/start.S index 616de58fb..0dd130038 100644 --- a/arch/powerpc/cpu/mpc824x/start.S +++ b/arch/powerpc/cpu/mpc824x/start.S @@ -586,7 +586,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc8260/start.S b/arch/powerpc/cpu/mpc8260/start.S index 521a6399b..255a15eae 100644 --- a/arch/powerpc/cpu/mpc8260/start.S +++ b/arch/powerpc/cpu/mpc8260/start.S @@ -907,7 +907,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S index a35697da0..515be4c87 100644 --- a/arch/powerpc/cpu/mpc83xx/start.S +++ b/arch/powerpc/cpu/mpc83xx/start.S @@ -955,7 +955,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S index 291557d40..945c1b847 100644 --- a/arch/powerpc/cpu/mpc85xx/start.S +++ b/arch/powerpc/cpu/mpc85xx/start.S @@ -146,7 +146,7 @@ _start_e500:  	beq	2b  	/* Setup interrupt vectors */ -	lis	r1,CONFIG_SYS_TEXT_BASE@h +	lis	r1,CONFIG_SYS_MONITOR_BASE@h  	mtspr	IVPR,r1  	li	r1,0x0100 @@ -292,25 +292,25 @@ _start_e500:  	lis     r7,FSL_BOOKE_MAS1(1, 1, 0, 1, BOOKE_PAGESZ_4M)@h  	ori     r7,r7,FSL_BOOKE_MAS1(1, 1, 0, 1, BOOKE_PAGESZ_4M)@l -	lis     r8,FSL_BOOKE_MAS2(CONFIG_SYS_TEXT_BASE & 0xffc00000, (MAS2_I|MAS2_G))@h -	ori     r8,r8,FSL_BOOKE_MAS2(CONFIG_SYS_TEXT_BASE & 0xffc00000, (MAS2_I|MAS2_G))@l +	lis     r8,FSL_BOOKE_MAS2(CONFIG_SYS_MONITOR_BASE & 0xffc00000, (MAS2_I|MAS2_G))@h +	ori     r8,r8,FSL_BOOKE_MAS2(CONFIG_SYS_MONITOR_BASE & 0xffc00000, (MAS2_I|MAS2_G))@l  	/* The 85xx has the default boot window 0xff800000 - 0xffffffff */  	lis     r9,FSL_BOOKE_MAS3(0xffc00000, 0, (MAS3_SX|MAS3_SW|MAS3_SR))@h  	ori     r9,r9,FSL_BOOKE_MAS3(0xffc00000, 0, (MAS3_SX|MAS3_SW|MAS3_SR))@l  #else  	/* -	 * create a temp mapping in AS=1 to the 1M CONFIG_SYS_TEXT_BASE space, the main -	 * image has been relocated to CONFIG_SYS_TEXT_BASE on the second stage. +	 * create a temp mapping in AS=1 to the 1M CONFIG_SYS_MONITOR_BASE space, the main +	 * image has been relocated to CONFIG_SYS_MONITOR_BASE on the second stage.  	 */  	lis     r7,FSL_BOOKE_MAS1(1, 1, 0, 1, BOOKE_PAGESZ_1M)@h  	ori     r7,r7,FSL_BOOKE_MAS1(1, 1, 0, 1, BOOKE_PAGESZ_1M)@l -	lis     r8,FSL_BOOKE_MAS2(CONFIG_SYS_TEXT_BASE, (MAS2_I|MAS2_G))@h -	ori     r8,r8,FSL_BOOKE_MAS2(CONFIG_SYS_TEXT_BASE, (MAS2_I|MAS2_G))@l +	lis     r8,FSL_BOOKE_MAS2(CONFIG_SYS_MONITOR_BASE, (MAS2_I|MAS2_G))@h +	ori     r8,r8,FSL_BOOKE_MAS2(CONFIG_SYS_MONITOR_BASE, (MAS2_I|MAS2_G))@l -	lis     r9,FSL_BOOKE_MAS3(CONFIG_SYS_TEXT_BASE, 0, (MAS3_SX|MAS3_SW|MAS3_SR))@h -	ori     r9,r9,FSL_BOOKE_MAS3(CONFIG_SYS_TEXT_BASE, 0, (MAS3_SX|MAS3_SW|MAS3_SR))@l +	lis     r9,FSL_BOOKE_MAS3(CONFIG_SYS_MONITOR_BASE, 0, (MAS3_SX|MAS3_SW|MAS3_SR))@h +	ori     r9,r9,FSL_BOOKE_MAS3(CONFIG_SYS_MONITOR_BASE, 0, (MAS3_SX|MAS3_SW|MAS3_SR))@l  #endif  	mtspr   MAS0,r6 @@ -1040,7 +1040,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds b/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds index 5fd3e6c8e..fa2088bb3 100644 --- a/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds +++ b/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds @@ -34,42 +34,16 @@ SECTIONS    /* Read-only sections, merged into text segment: */    . = + SIZEOF_HEADERS;    .interp : { *(.interp) } -  .hash          : { *(.hash)		} -  .dynsym        : { *(.dynsym)		} -  .dynstr        : { *(.dynstr)		} -  .rel.text      : { *(.rel.text)		} -  .rela.text     : { *(.rela.text)	} -  .rel.data      : { *(.rel.data)		} -  .rela.data     : { *(.rela.data)	} -  .rel.rodata    : { *(.rel.rodata)	} -  .rela.rodata   : { *(.rela.rodata)	} -  .rel.got       : { *(.rel.got)		} -  .rela.got      : { *(.rela.got)		} -  .rel.ctors     : { *(.rel.ctors)	} -  .rela.ctors    : { *(.rela.ctors)	} -  .rel.dtors     : { *(.rel.dtors)	} -  .rela.dtors    : { *(.rela.dtors)	} -  .rel.bss       : { *(.rel.bss)		} -  .rela.bss      : { *(.rela.bss)		} -  .rel.plt       : { *(.rel.plt)		} -  .rela.plt      : { *(.rela.plt)		} -  .init          : { *(.init)	} -  .plt : { *(.plt) }    .text      :    { -    *(.text) -    *(.got1) +    *(.text*)     } :text      _etext = .;      PROVIDE (etext = .);      .rodata    :     { -    *(.eh_frame)      *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))    } :text -  .fini      : { *(.fini)    } =0 -  .ctors     : { *(.ctors)   } -  .dtors     : { *(.dtors)   }    /* Read-write section, merged into data segment: */    . = (. + 0x00FF) & 0xFFFFFF00; @@ -77,23 +51,19 @@ SECTIONS    PROVIDE (erotext = .);    .reloc   :    { -    *(.got) +    KEEP(*(.got))      _GOT2_TABLE_ = .; -    *(.got2) +    KEEP(*(.got2))      _FIXUP_TABLE_ = .; -    *(.fixup) +    KEEP(*(.fixup))    }    __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;    __fixup_entries = (. - _FIXUP_TABLE_) >> 2;    .data    :    { -    *(.data) -    *(.data1) -    *(.sdata) -    *(.sdata2) -    *(.dynamic) -    CONSTRUCTORS +    *(.data*) +    *(.sdata*)    }    _edata  =  .;    PROVIDE (edata = .); @@ -117,7 +87,7 @@ SECTIONS    .bootpg ADDR(.text) - 0x1000 :    { -    arch/powerpc/cpu/mpc85xx/start.o	(.bootpg) +    arch/powerpc/cpu/mpc85xx/start.o	KEEP(*(.bootpg))    } :text = 0xffff    . = ADDR(.text) + 0x80000; @@ -125,9 +95,8 @@ SECTIONS    __bss_start = .;    .bss (NOLOAD)       :    { -   *(.sbss) *(.scommon) -   *(.dynbss) -   *(.bss) +   *(.sbss*) +   *(.bss*)     *(COMMON)    } :bss diff --git a/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds b/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds index 7d9cee98e..b10e0f9ee 100644 --- a/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds +++ b/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds @@ -28,15 +28,15 @@ SECTIONS  {  	. = 0xfff00000;  	.text : { -		*(.text) +		*(.text*)  	}  	_etext = .;  	.reloc : {  		_GOT2_TABLE_ = .; -		*(.got2) +		KEEP(*(.got2))  		_FIXUP_TABLE_ = .; -		*(.fixup) +		KEEP(*(.fixup))  	}  	__got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;  	__fixup_entries = (. - _FIXUP_TABLE_) >> 2; @@ -54,13 +54,13 @@ SECTIONS  	__init_end = .;  	.resetvec ADDR(.text) + 0xffc : { -		*(.resetvec) +		KEEP(*(.resetvec))  	} = 0xffff  	__bss_start = .;  	.bss : { -		*(.sbss) -		*(.bss) +		*(.sbss*) +		*(.bss*)  	}  	_end = .;  } diff --git a/arch/powerpc/cpu/mpc86xx/start.S b/arch/powerpc/cpu/mpc86xx/start.S index 612711569..4c29de61a 100644 --- a/arch/powerpc/cpu/mpc86xx/start.S +++ b/arch/powerpc/cpu/mpc86xx/start.S @@ -730,7 +730,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/mpc8xx/start.S b/arch/powerpc/cpu/mpc8xx/start.S index 9d022bf54..6a16c26d6 100644 --- a/arch/powerpc/cpu/mpc8xx/start.S +++ b/arch/powerpc/cpu/mpc8xx/start.S @@ -587,7 +587,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b diff --git a/arch/powerpc/cpu/ppc4xx/start.S b/arch/powerpc/cpu/ppc4xx/start.S index 363becc80..65195f528 100644 --- a/arch/powerpc/cpu/ppc4xx/start.S +++ b/arch/powerpc/cpu/ppc4xx/start.S @@ -1611,7 +1611,7 @@ in_ram:  	lwzux	r0,r4,r11  	cmpwi	r0,0  	add	r0,r0,r11 -	stw	r10,0(r3) +	stw	r4,0(r3)  	beq-	5f  	stw	r0,0(r4)  5:	bdnz	3b |