diff options
author | Juan Castillo <juan.castillo@arm.com> | 2014-07-11 10:23:18 +0100 |
---|---|---|
committer | Juan Castillo <juan.castillo@arm.com> | 2014-07-16 17:11:16 +0100 |
commit | 08783e4326bdbc86e52f575001c35de260a93f78 (patch) | |
tree | 5edfcdea5f69e38c0faef917b1e99bd5d2291059 /bl2/bl2_main.c | |
parent | a1a441775f64da2cbbd42c4f2c6f818f93278fca (diff) | |
download | platform_external_arm-trusted-firmware-08783e4326bdbc86e52f575001c35de260a93f78.tar.gz platform_external_arm-trusted-firmware-08783e4326bdbc86e52f575001c35de260a93f78.tar.bz2 platform_external_arm-trusted-firmware-08783e4326bdbc86e52f575001c35de260a93f78.zip |
FVP: Ensure system reset wake-up results in cold boot
platform_get_entrypoint() did not consider that a wakeup due to
System Reset Pin (by reading the power controller's PSYSR) requires
a cold boot. As a result, the code would execute the warm boot path
and eventually panic because entrypoint mailboxes are empty.
This patch ensures that the following wake-up reasons result in cold
boot:
- Cold Power-on
- System Reset Pin (includes reset by software)
Fixes ARM-software/tf-issues#217
Change-Id: I65ae0a0f7a46548b575900a5aac107d352b0e2cd
Diffstat (limited to 'bl2/bl2_main.c')
0 files changed, 0 insertions, 0 deletions