intel/haswell: Add asmlinkage for romstage_after_car()
Change-Id: Ib3c973d2e89d4c25c3bf1e52662fbfcb4b1e4355 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/15789 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
a38677b664
commit
b37d01d309
|
@ -183,7 +183,7 @@ void romstage_common(const struct romstage_params *params);
|
||||||
void * asmlinkage romstage_main(unsigned long bist);
|
void * asmlinkage romstage_main(unsigned long bist);
|
||||||
/* romstage_after_car() is the C function called after cache-as-ram has
|
/* romstage_after_car() is the C function called after cache-as-ram has
|
||||||
* been torn down. It is responsible for loading the ramstage. */
|
* been torn down. It is responsible for loading the ramstage. */
|
||||||
void romstage_after_car(void);
|
void asmlinkage romstage_after_car(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __SMM__
|
#ifdef __SMM__
|
||||||
|
|
|
@ -259,7 +259,7 @@ void romstage_common(const struct romstage_params *params)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void romstage_after_car(void)
|
void asmlinkage romstage_after_car(void)
|
||||||
{
|
{
|
||||||
/* Load the ramstage. */
|
/* Load the ramstage. */
|
||||||
run_ramstage();
|
run_ramstage();
|
||||||
|
|
Loading…
Reference in New Issue