mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: veyron: Add exception_init() to romstage
I'm not even sure how this slipped through... looks like it had never
been there in the first place. Anyway, on ARM exceptions should always
be reinitialized in all stages to make sure the handlers are still
around (especially in an OVERLAP_VERSTAGE_ROMSTAGE board like this one).
Change-Id: Ic74ea1448d63b363f2ed59d9e2529971b3d32d9a
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/15099
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
(cherry-picked from commit 221fdd8cce
)
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/350971
Commit-Ready: Aaron Durbin <adurbin@chromium.org>
Tested-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
deae6a89c3
commit
e3e661b6a9
7 changed files with 7 additions and 0 deletions
|
@ -84,6 +84,7 @@ void main(void)
|
|||
timestamp_add_now(TS_START_ROMSTAGE);
|
||||
|
||||
console_init();
|
||||
exception_init();
|
||||
configure_l2ctlr();
|
||||
tsadc_init();
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ void main(void)
|
|||
timestamp_add_now(TS_START_ROMSTAGE);
|
||||
|
||||
console_init();
|
||||
exception_init();
|
||||
configure_l2ctlr();
|
||||
tsadc_init();
|
||||
|
||||
|
|
|
@ -79,6 +79,7 @@ void main(void)
|
|||
timestamp_add_now(TS_START_ROMSTAGE);
|
||||
|
||||
console_init();
|
||||
exception_init();
|
||||
configure_l2ctlr();
|
||||
tsadc_init();
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ void main(void)
|
|||
timestamp_add_now(TS_START_ROMSTAGE);
|
||||
|
||||
console_init();
|
||||
exception_init();
|
||||
configure_l2ctlr();
|
||||
tsadc_init();
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ void main(void)
|
|||
timestamp_add_now(TS_START_ROMSTAGE);
|
||||
|
||||
console_init();
|
||||
exception_init();
|
||||
configure_l2ctlr();
|
||||
tsadc_init();
|
||||
|
||||
|
|
|
@ -85,6 +85,7 @@ void main(void)
|
|||
timestamp_add_now(TS_START_ROMSTAGE);
|
||||
|
||||
console_init();
|
||||
exception_init();
|
||||
configure_l2ctlr();
|
||||
tsadc_init();
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ void main(void)
|
|||
timestamp_add_now(TS_START_ROMSTAGE);
|
||||
|
||||
console_init();
|
||||
exception_init();
|
||||
configure_l2ctlr();
|
||||
tsadc_init();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue