copy_and_run: drop boot_complete parameter
Since this parameter is not used anymore, drop it from all calls to copy_and_run() Change-Id: Ifba25aff4b448c1511e26313fe35007335aa7f7a Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/3213 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
committed by
Ronald G. Minnich
parent
2a3c10677f
commit
648d16679c
@@ -165,7 +165,7 @@ static void post_cache_as_ram(void)
|
||||
set_sysinfo_in_ram(1); // So other core0 could start to train mem
|
||||
|
||||
/*copy and execute coreboot_ram */
|
||||
copy_and_run(0);
|
||||
copy_and_run();
|
||||
/* We will not return */
|
||||
|
||||
print_debug("should not be here -\n");
|
||||
|
@@ -182,8 +182,6 @@ done_cache_as_ram_main:
|
||||
xorl $(CR0_CD + CR0_NW), %eax /* clear the CD and NW bits */
|
||||
movl %eax, %cr0
|
||||
|
||||
/* clear boot_complete flag */
|
||||
xorl %ebp, %ebp
|
||||
__main:
|
||||
post_code(POST_PREPARE_RAMSTAGE)
|
||||
|
||||
@@ -197,8 +195,6 @@ __main:
|
||||
* the location it is compiled to run at.
|
||||
* Normally this is copying from FLASH ROM to RAM.
|
||||
*/
|
||||
movl %ebp, %esi
|
||||
pushl %esi
|
||||
call copy_and_run
|
||||
|
||||
.Lhlt:
|
||||
|
@@ -208,8 +208,6 @@ done_cache_as_ram_main:
|
||||
xorl $(CR0_CD + CR0_NW), %eax /* clear the CD and NW bits */
|
||||
movl %eax, %cr0
|
||||
|
||||
/* clear boot_complete flag */
|
||||
xorl %ebp, %ebp
|
||||
__main:
|
||||
post_code(POST_PREPARE_RAMSTAGE)
|
||||
|
||||
@@ -223,8 +221,6 @@ __main:
|
||||
* the location it is compiled to run at.
|
||||
* Normally this is copying from FLASH ROM to RAM.
|
||||
*/
|
||||
movl %ebp, %esi
|
||||
pushl %esi
|
||||
call copy_and_run
|
||||
|
||||
.Lhlt:
|
||||
|
@@ -357,17 +357,12 @@ lout:
|
||||
andl $(~(CR0_CacheDisable | CR0_NoWriteThrough)), %eax
|
||||
movl %eax, %cr0
|
||||
|
||||
/* Clear boot_complete flag. */
|
||||
xorl %ebp, %ebp
|
||||
__main:
|
||||
post_code(POST_PREPARE_RAMSTAGE)
|
||||
cld /* Clear direction flag. */
|
||||
|
||||
movl %ebp, %esi
|
||||
|
||||
movl $ROMSTAGE_STACK, %esp
|
||||
movl %esp, %ebp
|
||||
pushl %esi
|
||||
call copy_and_run
|
||||
|
||||
.Lhlt:
|
||||
|
@@ -431,17 +431,12 @@ no_msr_11e:
|
||||
|
||||
post_code(0x3c)
|
||||
|
||||
/* Clear boot_complete flag. */
|
||||
xorl %ebp, %ebp
|
||||
__main:
|
||||
post_code(POST_PREPARE_RAMSTAGE)
|
||||
cld /* Clear direction flag. */
|
||||
|
||||
movl %ebp, %esi
|
||||
|
||||
movl $ROMSTAGE_STACK, %esp
|
||||
movl %esp, %ebp
|
||||
pushl %esi
|
||||
call copy_and_run
|
||||
|
||||
.Lhlt:
|
||||
|
@@ -326,7 +326,7 @@ void romstage_after_car(void)
|
||||
#endif
|
||||
|
||||
/* Load the ramstage. */
|
||||
copy_and_run(0);
|
||||
copy_and_run();
|
||||
}
|
||||
|
||||
|
||||
|
@@ -316,17 +316,12 @@ __acpi_resume_backup_done:
|
||||
|
||||
post_code(0x3d)
|
||||
|
||||
/* Clear boot_complete flag. */
|
||||
xorl %ebp, %ebp
|
||||
__main:
|
||||
post_code(POST_PREPARE_RAMSTAGE)
|
||||
cld /* Clear direction flag. */
|
||||
|
||||
movl %ebp, %esi
|
||||
|
||||
movl $ROMSTAGE_STACK, %esp
|
||||
movl %esp, %ebp
|
||||
pushl %esi
|
||||
call copy_and_run
|
||||
|
||||
.Lhlt:
|
||||
|
@@ -225,17 +225,12 @@ clear_mtrrs:
|
||||
|
||||
post_code(0x3c)
|
||||
|
||||
/* Clear boot_complete flag. */
|
||||
xorl %ebp, %ebp
|
||||
__main:
|
||||
post_code(POST_PREPARE_RAMSTAGE)
|
||||
cld /* Clear direction flag. */
|
||||
|
||||
movl %ebp, %esi
|
||||
|
||||
movl $ROMSTAGE_STACK, %esp
|
||||
movl %esp, %ebp
|
||||
pushl %esi
|
||||
call copy_and_run
|
||||
|
||||
.Lhlt:
|
||||
|
@@ -264,17 +264,12 @@ testok:
|
||||
movl %eax, %cr0
|
||||
invd
|
||||
|
||||
/* Clear boot_complete flag. */
|
||||
xorl %ebp, %ebp
|
||||
__main:
|
||||
post_code(POST_PREPARE_RAMSTAGE)
|
||||
cld /* Clear direction flag. */
|
||||
|
||||
movl %ebp, %esi
|
||||
|
||||
movl $ROMSTAGE_STACK, %esp
|
||||
movl %esp, %ebp
|
||||
pushl %esi
|
||||
call copy_and_run
|
||||
|
||||
.Lhlt:
|
||||
|
Reference in New Issue
Block a user